ResultSet.getShort
Interface Overview | Interface Members |
This Package |
All Packages
public abstract short getShort( 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 short.
Exceptions
SQLException
if a database-access error occurs.