Valid dynamic results returned by the procedure will be closed
as inaccessible when this is closed (e.g. a CALL within a trigger).
Any code that requires the dynamic results to be accessible
(such as the JDBC Statement object executing the CALL) must
obtain the dynamic results from Activation.getDynamicResults()
and remove each ResultSet it will be handling by clearing the
reference in the object returned.
Activation#getDynamicResults()
| Modifier and Type | Field and Description |
|---|---|
| private final GeneratedMethod |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | cleanUp()
Implements org. Tells the system to clean up on an error. |
| public void | close()
Implements org. Need to explicitly close any dynamic result sets. |
| public void |
| methodCall | back to summary |
|---|---|
| private final GeneratedMethod methodCall | |
| CallStatementResultSet | back to summary |
|---|---|
| pack-priv CallStatementResultSet(GeneratedMethod methodCall, Activation a) | |
| cleanUp | back to summary |
|---|---|
| public void cleanUp() throws StandardException Implements org. Doc from org. Tells the system to clean up on an error.
| |
| close | back to summary |
|---|---|
| public void close() throws StandardException Implements org. Need to explicitly close any dynamic result sets.
| |
| open | back to summary |
|---|---|
| public void open() throws StandardException Implements org. Just invoke the method.
| |