net.sf.farrago.ddl
Class DdlTxnStmt

java.lang.Object
  extended by net.sf.farrago.ddl.DdlStmt
      extended by net.sf.farrago.ddl.DdlTxnStmt
All Implemented Interfaces:
FarragoSessionDdlStmt
Direct Known Subclasses:
DdlCommitStmt, DdlSavepointTxnStmt

public abstract class DdlTxnStmt
extends DdlStmt

DdlTxnStmt is a base for all statements which control the transaction context (e.g. COMMIT).

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/ddl/DdlTxnStmt.java#11 $
Author:
John V. Sichi

Constructor Summary
DdlTxnStmt()
           
 
Method Summary
 boolean requiresCommit()
           
 
Methods inherited from class net.sf.farrago.ddl.DdlStmt
getModelElement, isDropRestricted, postCommit, postExecute, preExecute, preValidate, runsAsDml, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DdlTxnStmt

public DdlTxnStmt()
Method Detail

requiresCommit

public boolean requiresCommit()
Specified by:
requiresCommit in interface FarragoSessionDdlStmt
Overrides:
requiresCommit in class DdlStmt
Returns:
true if this statement implies an auto-commit before and after