Code example for ResultSet

Methods: getObject

0
   
  public boolean empty() throws Database.Error { return !next(); } 
   
  public Object get(String column) throws Database.Error {
    try { 
      return rs.getObject(column);
    } catch (SQLException e) {
      throw new Database.Error(e);
    } 
  } 
   
  public long getLong(String column) throws Database.Error {
    try { 
      return rs.getLong(column);
    } catch (SQLException e) {
      throw new Database.Error(e);
    } 
  } 
 
  public void close() throws Database.Error {  
    try {