Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC

Class TCallableStatement

TCallableStatement -> TPreparedStatement

Used to execute SQL stored procedures.

Method Summary
registerInt index symbol
         Register a variable to receive the value of an integer output parameter.
registerString index symbol
         Register a variable to receive the value of astring output parameter.

Method Detail

registerInt

TCallableStatement registerInt index symbol

Register a variable to receive the value of an integer output parameter.

Parameters:
index - The index of a parameter in the SQL statement that will be used as an output parameter.
symbol - Symbol identifying a variable in the current context.
Returns:
The same object for which this method was called.

Registers a variable that will receive the value of an output parameter when the statement gets executed. The value will be an integer object. The variable is identifyed by the symbol argument. That variable must alread be known in the current context.

registerString

TCallableStatement registerString index symbol

Register a variable to receive the value of astring output parameter.

Parameters:
index - The index of a parameter in the SQL statement that will be used as an output parameter.
symbol - Symbol identifying a variable in the current context.
Returns:
The same object for which this method was called.

Registers a variable that will receive the value of an output parameter when the statement gets executed. The value will be a string object. The variable is identifyed by the symbol argument. That variable must alread be known in the current context.


Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC
Report a bug or request new features
© 2002