Class SetTransactionResultSet
java.lang.Object
org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
org.apache.derby.impl.sql.execute.MiscResultSet
org.apache.derby.impl.sql.execute.SetTransactionResultSet
- All Implemented Interfaces:
ResultSet
This is a wrapper class which invokes the Execution-time logic for
SET TRANSACTION statements. The real Execution-time logic lives inside the
executeConstantAction() method of the Execution constant.
-
Field Summary
Fields inherited from class org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
activation, beginExecutionTime, beginTime, endExecutionTime, endTime, lcc
Fields inherited from interface org.apache.derby.iapi.sql.ResultSet
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST
-
Constructor Summary
ConstructorsConstructorDescriptionSetTransactionResultSet
(Activation activation) Construct a SetTransactionResultSet -
Method Summary
Modifier and TypeMethodDescriptionboolean
Does this ResultSet cause a commit or rollback.Methods inherited from class org.apache.derby.impl.sql.execute.MiscResultSet
cleanUp, close, open
Methods inherited from class org.apache.derby.impl.sql.execute.NoRowsResultSetImpl
addWarning, checkRowPosition, clearCurrentRow, close, 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, toXML
-
Constructor Details
-
SetTransactionResultSet
SetTransactionResultSet(Activation activation) Construct a SetTransactionResultSet- Parameters:
activation
- Describes run-time environment.
-
-
Method Details
-
doesCommit
public boolean doesCommit()Does this ResultSet cause a commit or rollback.- Overrides:
doesCommit
in classNoRowsResultSetImpl
- Returns:
- Whether or not this ResultSet cause a commit or rollback.
-