@Override
 public boolean getMoreResults() throws SQLException {
   if (resultSet == null) {
     throw new SQLException("Statement is closed.");
   } else if (resultSet.isLast() || resultSet.isClosed()) {
     resultSet.close();
     return false;
   } else {
     return true;
   }
 }
 @Override
 public void cancel() throws SQLException {
   if (resultSet != null) {
     resultSet.cancel();
   }
 }
 @Override
 public boolean isClosed() throws SQLException {
   return resultSet.isClosed();
 }
 @Override
 public int getResultSetType() throws SQLException {
   return resultSet.getType();
 }
 @Override
 public int getResultSetHoldability() throws SQLException {
   return resultSet.getHoldability();
 }
 @Override
 public int getResultSetConcurrency() throws SQLException {
   return resultSet.getConcurrency();
 }