title: updating mysql connector from v3 to v5 caused Operation not allowed after ResultSet closed
body: <p>updating mysql connector from v3 to v5 caused  Operation not allowed after ResultSet closed exception,  why is that?</p>
  
  <p>How should I change my code?</p>