getParamDataTypeJDBC()

Retrieves the data type of this stored-procedure parameter as an integer JDBC data type.

Syntax

int getParamDataTypeJDBC()
 

Parameters

None.

Return values

Returns the data type of the associated UserStoredProcedureParam parameter as a JDBC data type.

Exceptions

None.

Notes

The JDBC data type is one of two representations of the parameter data type stored in the UserStoredProcedureParam object. JDBC data types are integer values and include the following:

These data types are defined in java.sql.Types.

Recommendation:
You should use the Java Object data type instead of the JDBC data type. However, the Mapping API uses the JDBC internally so you can obtain its value from the UserStoredProcedureParam object with getParamDataTypeJDBC().

See also

getParamDataTypeJavaObj(), setParamDataTypeJDBC()

Copyright IBM Corp. 1997, 2003