Code example for ResultSet

Methods: absolute, getObject

0
  { 
    if (resultset != null)
    { 
      try 
      { 
        resultset.absolute(row + 1);
        return resultset.getObject(column + 1);
      } 
      catch (SQLException e)
      { 
        throw new DataTableException("Accessing the result set failed: ", e);
      } 
    } 
    return null; 
  } 
 
  /** 
   * Returns the class of the resultset column. Returns Object.class if an error occurred. 
   * 
   * @param column the column index. 
   * @return the column class.