org.firebirdsql.jdbc
Class InternalTransactionCoordinator.AbstractTransactionCoordinator
java.lang.Object
|
+--org.firebirdsql.jdbc.InternalTransactionCoordinator.AbstractTransactionCoordinator
- All Implemented Interfaces:
- FBObjectListener.BlobListener, FBObjectListener.StatementListener
- Direct Known Subclasses:
- InternalTransactionCoordinator.AutoCommitCoordinator, InternalTransactionCoordinator.LocalTransactionCoordinator, InternalTransactionCoordinator.MetaDataTransactionCoordinator
- Enclosing class:
- InternalTransactionCoordinator
- public abstract static class InternalTransactionCoordinator.AbstractTransactionCoordinator
- extends java.lang.Object
- implements FBObjectListener.StatementListener, FBObjectListener.BlobListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localTransaction
protected FirebirdLocalTransaction localTransaction
connection
protected AbstractConnection connection
statements
protected java.util.Collection statements
InternalTransactionCoordinator.AbstractTransactionCoordinator
protected InternalTransactionCoordinator.AbstractTransactionCoordinator(AbstractConnection connection,
FirebirdLocalTransaction localTransaction)
getConnection
public AbstractConnection getConnection()
throws java.sql.SQLException
- Get the connection which owns this coordinator.
- Specified by:
getConnection
in interface FBObjectListener.StatementListener
- Returns:
- instance of
AbstractConnection
getStatements
protected java.util.Collection getStatements()
setStatements
protected void setStatements(java.util.Collection statements)
completeStatements
protected void completeStatements()
throws java.sql.SQLException
ensureTransaction
public abstract void ensureTransaction()
throws java.sql.SQLException
commit
public abstract void commit()
throws java.sql.SQLException
rollback
public abstract void rollback()
throws java.sql.SQLException
Copyright © 2001 David Jencks and other authors. All rights reserved.