BBjStoredProcedureData::setResultSet
Description
In BBj 6.00 and higher, this method sets the channel to be used as the stored procedure's result set.
Syntax
| Return Value | Method | 
|---|---|
| void | setResultSet(int sqlChannel) | 
| void | setResultSet(java.sql.ResultSet resultSet) | 
Parameters
| Parameter | Description | 
|---|---|
| sqlChannel | Handle of the SQL channel to use as a result set. | 
| resultSet | Instance of java.sql.ResultSet to return. | 
Return Value
None.
Remarks
Either this method or setUpdateCount can be called once. Subsequent invocations result in an !ERROR=207 (BBJ_STATE).
Example 1
|  | 
Example 2
|  | 
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.