public abstract Object getObject (int parameterIndex, Map<String, Class<?>> map) throws SQLException

Returns an object representing the value of OUT parameter parameterIndex and uses map for the custom mapping of the parameter value.

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
map    the mapping from SQL type names to Java classes

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
SQLFeatureNotSupportedException    if the JDBC driver does not support this method

See also:
setObject

Since:  1.2