public void close ( ) throws Exception { try { if ( resultSet != null ) { resultSet . close ( ) ; } } finally { if ( conn != null ) { conn . close ( ) ; } } }
closes the resultset and the jdbc connection .