class CallStatementResultSet extends NoRowsResultSetImpl
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 GeneratedMethod |
methodCall |
activation, beginExecutionTime, beginTime, endExecutionTime, endTime, lcc
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST
Constructor and Description |
---|
CallStatementResultSet(GeneratedMethod methodCall,
Activation a) |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Tells the system to clean up on an error.
|
void |
close()
Need to explicitly close any dynamic result sets.
|
void |
open()
Just invoke the method.
|
addWarning, checkRowPosition, clearCurrentRow, doesCommit, evaluateACheckConstraint, evaluateCheckConstraints, evaluateGenerationClauses, finish, getAbsoluteRow, getActivation, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCurrentTimeMillis, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getQueryPlanText, getRelativeRow, getResultDescription, getRowNumber, getSubqueryTrackingArray, getTimeSpent, getWarnings, isClosed, modifiedRowCount, returnsRows, setAfterLastRow, setBeforeFirstRow, setup
private final GeneratedMethod methodCall
CallStatementResultSet(GeneratedMethod methodCall, Activation a)
public void open() throws StandardException
StandardException
- Standard Derby error policypublic void close() throws StandardException
close
in interface ResultSet
close
in class NoRowsResultSetImpl
StandardException
- thrown on errorpublic void cleanUp() throws StandardException
ResultSet
StandardException
- Thrown on error.ResultSet.cleanUp()
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.