ResultSet.getInt

ResultSet.getInt

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract int getInt( 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 int.

Exceptions
SQLException if a database-access error occurs.