getParameterClassName(int param)

Syntax:

String getParameterClassName(int param)
                             throws SQLException

Description:

Retrieves the fully-qualified name of the Java class whose instances should be passed to the method PreparedStatement.setObject.

Parameters:

param

the first parameter is 1, the second is 2, ...

Returns:

the fully-qualified name of the class in the Java programming language that would be used by the method PreparedStatement.setObject to set the value in the specified parameter. This is the class name used for custom mapping.

Throws:

SQLException - - if a database access error occurs, if param is less than 1 or greater than the number of parameters, or if the object has been closed.

Reference:

For more information, reference JDBC documentation for: ParameterMetaData.getParameterClassName(int)