%XDBC.Gateway.JDBC.CallableStatement
class %XDBC.Gateway.JDBC.CallableStatement extends %XDBC.Gateway.JDBC.PreparedStatement
The interface used to execute SQL stored procedures. The JDBC API provides a stored procedure SQL escape syntax that allows stored procedures to be called in a standard way for all RDBMSs. This escape syntax has one form that includes a result parameter and one that does not. If used, the result parameter must be registered as an OUT parameter. The other parameters can be used for input, output or both. Parameters are referred to sequentially, by number, with the first parameter being 1.
  {?= call <procedure-name>[(<arg1>,<arg2>, ...)]}
  {call <procedure-name>[(<arg1>,<arg2>, ...)]}
IN parameter values are set using the set methods inherited from
{@link PreparedStatement}.  The type of all OUT parameters must be
registered prior to executing the stored procedure; their values
are retrieved after execution via the get methods provided here.
A CallableStatement can return one {@link ResultSet} object or
multiple ResultSet objects.  Multiple
ResultSet objects are handled using operations
inherited from {@link Statement}.
For maximum portability, a call's ResultSet objects and
update counts should be processed prior to getting the values of output
parameters.
@see Connection#prepareCall
@see ResultSet
Method Inventory
- GetArray()
- GetBigDecimal()
- GetBlob()
- GetBoolean()
- GetByte()
- GetBytes()
- GetCharacterStream()
- GetClob()
- GetDate()
- GetDouble()
- GetFloat()
- GetLong()
- GetNCharacterStream()
- GetNClob()
- GetNString()
- GetObject()
- GetTime()
- GetTimestamp()
- GetURL()
- SetAsciiStream()
- SetBigDecimal()
- SetBinaryStream()
- SetBlob()
- SetBoolean()
- SetByte()
- SetBytes()
- SetCharacterStream()
- SetClob()
- SetDate()
- SetDouble()
- SetFloat()
- SetInt()
- SetLong()
- SetNCharacterStream()
- SetNClob()
- SetNString()
- SetNull()
- SetObject()
- SetShort()
- SetString()
- SetTime()
- SetTimestamp()
- SetURL()
- getInt()
- getShort()
- getString()
- registerOutParameter()
- wasNull()
Methods
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnNew()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- AddBatch()
- Cancel()
- ClearBatch()
- Close()
- Execute()
- ExecuteBatch()
- ExecuteQuery()
- ExecuteUpdate()
- GetConnection()
- GetFetchSize()
- GetGeneratedKeys()
- GetMaxFieldSize()
- GetMaxRows()
- GetMetaData()
- GetMoreResults()
- GetParameterMetaData()
- GetQueryTimeout()
- GetResultSet()
- GetResultSetMetaData()
- GetUpdateCount()
- IsClosed()
- SetFetchSize()
- SetMaxFieldSize()
- SetMaxRows()
- SetQueryTimeout()