public abstract Object getObject (int parameterIndex) throws SQLException

Retrieves the value of the designated parameter as an Object in the Java programming language. If the value is an SQL NULL, the driver returns a Java null.

This method returns a Java object whose type corresponds to the JDBC type that was registered for this parameter using the method registerOutParameter. By registering the target JDBC type as java.sql.Types.OTHER, this method can be used to read database-specific abstract data types.

Parameters:
parameterIndex    the first parameter is 1, the second is 2, and so on

Returns:  A java.lang.Object holding the OUT parameter value

Exceptions:
SQLException    if the parameterIndex is not valid; if a database access error occurs or this method is called on a closed CallableStatement

See also:
Types, setObject