private void close(){
  if (closed) {
    return;
  }
  closed=true;
  try {
    resultSet.close();
  }
 catch (  final SQLException e) {
    logger.error(e,e);
  }
  try {
    if (statement != null) {
      statement.close();
    }
  }
 catch (  final SQLException e) {
    logger.error(e,e);
  }
}

private void close ( ) { if ( closed ) { return ; } closed = true ; try { resultSet . close ( ) ; } catch ( final SQLException e ) { logger . error ( e , e ) ; } try { if ( statement != null ) { statement . close ( ) ; } } catch ( final SQLException e ) { logger . error ( e , e ) ; } }
closes the resultset and statement .
