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.
parameterIndex | the first parameter is 1, the second is 2, and so on |
java.lang.Object holding the OUT parameter value
SQLException | if the parameterIndex is not valid;
if a database access error occurs or
this method is called on a closed CallableStatement |
Diagram: Statement