getParameterType(int param)

Syntax:

int getParameterType(int param)
                     throws SQLException

Description:

Retrieves the designated parameter's SQL type.

Parameters:

param

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

Returns:

SQL type from java.sql.Types

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