setParamDataTypeJDBC()

Sets the data type as a JDBC data type for this stored-procedure parameter.

Syntax

void setParamDataTypeJDBC(int paramDataType)
 

Parameters

paramDataType
The data type of the parameter as a JDBC type.

Exceptions

DtpConnectionException - If the input data type is not supported.

Notes

Every UserStoredProcedureParam object contains two representations of its data type: Java Object and JDBC data type. You should use the Java Object data type because:

See also

getParamDataTypeJDBC(), setParamDataTypeJavaObj()

Copyright IBM Corp. 1997, 2003