Returns a whole number for the named column in the specified result set callable statement object.
Syntax
getLong( resultset , index )
resultset.getLong( index )
getLong( callablestatement , index )
callablestatement.getLong( index )
Parameters
|
resultset
|
the result set object to use.
|
|
callablestatement
|
the callable statement object to use.
|
|
index
|
the index of the column.
|
Returns
|
long
|
the long whole number at the given column index.
|
Example
num = rs.getLong( 1 )
|