Top Description Fields Constructors Methods
org.apache.derby.impl.sql.compile

pack-priv abstract Class TransactionStatementNode

extends StatementNode
Class Inheritance
Known Direct Subclasses
org.apache.derby.impl.sql.compile.SetTransactionIsolationNode
Imports
org.apache.derby.iapi.services.context.ContextManager

A TransactionStatementNode represents any type of Transaction statement: SET TRANSACTION, COMMIT, and ROLLBACK.

Field Summary

Inherited from org.apache.derby.impl.sql.compile.StatementNode:
EMPTY_TD_LISTNEED_CURSOR_ACTIVATIONNEED_DDL_ACTIVATIONNEED_NOTHING_ACTIVATIONNEED_PARAM_ACTIVATIONNEED_ROW_ACTIVATION

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv int
public boolean

Returns:

false
isAtomic
()

Overrides org.apache.derby.impl.sql.compile.StatementNode.isAtomic.

COMMIT and ROLLBACK are allowed to commit and rollback, duh.

public boolean

Returns:

boolean Whether or not this Statement requires a set/clear savepoint
needsSavepoint
()

Overrides org.apache.derby.impl.sql.compile.StatementNode.needsSavepoint.

Returns whether or not this Statement requires a set/clear savepoint around its execution.

Inherited from org.apache.derby.impl.sql.compile.StatementNode:
bindStatementexecuteSchemaNameexecuteStatementNamegenerategetCursorInfogetSPSNamelockTableForCompilationmakeResultDescriptionoptimizeStatementstatementToStringtoStringupdateIndexStatisticsFor

Constructor Detail

TransactionStatementNodeback to summary
pack-priv TransactionStatementNode(ContextManager cm)

Method Detail

activationKindback to summary
pack-priv int activationKind()

Implements abstract org.apache.derby.impl.sql.compile.StatementNode.activationKind.

isAtomicback to summary
public boolean isAtomic()

Overrides org.apache.derby.impl.sql.compile.StatementNode.isAtomic.

COMMIT and ROLLBACK are allowed to commit and rollback, duh.

Returns:boolean

false

Annotations
@Override
needsSavepointback to summary
public boolean needsSavepoint()

Overrides org.apache.derby.impl.sql.compile.StatementNode.needsSavepoint.

Returns whether or not this Statement requires a set/clear savepoint around its execution. The following statement "types" do not require them: Cursor - unnecessary and won't work in a read only environment Xact - savepoint will get blown away underneath us during commit/rollback

Returns:boolean

boolean Whether or not this Statement requires a set/clear savepoint

Annotations
@Override