title: How to Timing out java.sql.ResultSet
body: <p>The PL/SQl cursor was getting hanged due to some reason, this makes my app to hang when try to loop through the <code>ResultSet</code>. <br></p>
  
  <p>Is there a way to handle this, like timing out the resultset if the database hangs?</p>