getParameterTypeName(int param)

Syntax:

String getParameterTypeName(int param)
                            throws SQLException

Description:

Retrieves the designated parameter's database-specific type name.

Parameters:

param

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

Returns:

type the name used by the database. If the parameter type is a user-defined type, then a fully-qualified type name is returned.

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.getParameterTypeName(int)