public void abort() throws SQLException {
    if (fetchSize != 0) {
      fetchSize = 0;
      if (resultSet != null) {
        resultSet.abort();
      } else {
        SelectResultSet firstResult = executionResults.peekFirst();
        if (firstResult != null) {
          firstResult.abort();
        }
      }
    }
  }
public void abort ( ) throws SQLException { if ( fetchSize != 0 ) { fetchSize = 0 ; if ( resultSet != null ) { resultSet . abort ( ) ; } else { SelectResultSet firstResult = executionResults . peekFirst ( ) ; if ( firstResult != null ) { firstResult . abort ( ) ; } } } }
Connection.abort() has been called, abort remaining active result-set

@throws SQLException exception