ResultSet.close
Interface Overview | Interface Members | 
  This Package | 
All Packages
 public abstract void close() throws SQLException
Description
 In some cases, it is desirable to immediately release a
 ResultSet's database and JDBC resources instead of waiting for
 this to happen when it is automatically closed; the close
 method provides this immediate release.
 Note: A ResultSet is automatically closed by the
 Statement that generated it when that Statement is closed,
 re-executed, or is used to retrieve the next result from a
 sequence of multiple results. A ResultSet is also automatically
 closed when it is garbage collected.
  
Exceptions
 SQLException
     if a database-access error occurs.