UserStoredProcedureParam class

The UserStoredProcedureParam class provides methods for handling argument values to stored procedures, which you execute on the relationship database. A UserStoredProcedureParam object describes a single parameter for a stored procedure.

Important:
The UserStoredProcedureParam class and its methods are supported for backward compatibility only. These deprecated methods will not generate errors, but you should avoid using them and migrate existing code to the new methods. The deprecated methods might be removed in a future release. In new map development, use the CwDBStoredProcedureParam class and its methods to provide arguments to a stored procedure.

Table 111 summarizes the methods in the UserStoredProcedureParam class.

Table 111.
UserStoredProcedureParam method summary
Method Description Page
UserStoredProcedureParam() Constructs a new instance of UserStoredProcedureParam that holds argument information for the parameter of a stored procedure. UserStoredProcedureParam()
getParamDataTypeJavaObj() Retrieves the data type of this stored-procedure parameter as a Java Object, such as Integer, Double, or String. getParamDataTypeJavaObj()
getParamDataTypeJDBC() Retrieves the data type of this stored-procedure parameter as an integer JDBC data type. getParamDataTypeJDBC()
getParamIndex() Retrieves the index position of this stored-procedure parameter. getParamIndex()
getParamIOType() Retrieves the in/out parameter type for this stored-procedure parameter. getParamIOType()
getParamName() Retrieves the name of this stored-procedure parameter. getParamName()
getParamValue() Retrieves the value of this stored-procedure parameter. getParamValue()
setParamDataTypeJavaObj() Sets the data type as a Java Object for this stored-procedure parameter. setParamDataTypeJavaObj()
setParamDataTypeJDBC() Sets the data type as a JDBC data type for this stored-procedure parameter. setParamDataTypeJDBC()
setParamIndex() Sets the index position of this stored-procedure parameter. setParamIndex()
setParamIOType() Sets the in/out parameter type of this stored-procedure parameter. setParamIOType()
setParamName() Sets the name of this stored-procedure parameter. setParamName()
setParamValue() Sets the value of this stored-procedure parameter. setParamValue()

Copyright IBM Corp. 1997, 2003