CallableStatement.getObject

CallableStatement.getObject

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract Object getObject( int parameterIndex ) throws SQLException
Parameters
parameterIndex
The first parameter is 1, the second is 2, ...
Returns
A java.lang.Object holding the OUT parameter value.
Description
Get the value of a parameter as a Java object.

This method returns a Java object whose type coresponds to the SQL type that was registered for this parameter using registerOutParameter.

Note that this method may be used to read datatabase-specific, abstract data types. This is done by specifying a targetSqlType of java.sql.types.OTHER, which allows the driver to return a database-specific Java type.

Exceptions
SQLException if a database-access error occurs.
See Also
Types