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

Returns an object representing the value of OUT parameter parameterName 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:
parameterName    the name of the parameter
map    the mapping from SQL type names to Java classes

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

Exceptions:
SQLException    if parameterName does not correspond to a named parameter; 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.4