Take the 2-minute tour ×  I want to know if ResultSet can be
closed if I didn't close it ? I have a ResultSet is closed
exception but I am sure I didn't close the ResultSet anywhere .
What I do exactly is that I use the ResultSet to perform a
SELECT query then I use the same ResultSet because it's called
by this method :  public Object getValueAt( int row, int column
)         throws IllegalStateException {     // ensure database
connection is available     if (
!dbConnection.isConnectedToDatabase() )         throw new
IllegalStateException( "Not Connected to Database" );      //
obtain a value at specified ResultSet row and column      try {
getResultSet().absolute( row + 1 );         return
getResultSet().getObject( column + 1 );     } // end try
catch ( SQLException sqlException ) {
System.out.println("Exception from here dude");     } // end
catch      return ""; // if problems, return empty string object
} // end method getValueAt  So , another question : Is there a
way to ensure the