ResultSet.getLong
Interface Overview | Interface Members |
This Package |
All Packages
public abstract long getLong( String columnName ) throws SQLException
Parameters
- columnName
- is the SQL name of the column
Returns
the column value; if the value is SQL NULL, the result is 0
Description
Get the value of a column in the current row as a Java long.
Exceptions
SQLException
if a database-access error occurs.