Пример #1
0
 public void close() throws SQLException {
   if (m_portal.isValid()) {
     m_portal.close();
     m_statement.resultSetClosed(this);
     m_table = null;
     m_tableRow = -1;
     m_currentRow = null;
     m_nextRow = null;
     super.close();
   }
 }
Пример #2
0
 protected final Portal getPortal() throws SQLException {
   if (!m_portal.isValid()) throw new SQLException("ResultSet is closed");
   return m_portal;
 }