public static class InternalTransactionCoordinator.ManagedTransactionCoordinator extends InternalTransactionCoordinator.LocalTransactionCoordinator
connection, localTransaction, statements| Constructor and Description |
|---|
InternalTransactionCoordinator.ManagedTransactionCoordinator(AbstractConnection connection)
Create instance of this class for the specified connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
protected void |
completeStatements(AbstractStatement.CompletionReason reason) |
void |
ensureTransaction() |
void |
executionStarted(AbstractStatement stmt)
Notify listener that statement execution is being started.
|
void |
executionStarted(FirebirdBlob blob)
Notify listener that execution of some BLOB operation had been started.
|
void |
rollback() |
executionCompleted, statementClosed, statementCompleted, statementCompletedgetConnection, getStatements, setStatementspublic InternalTransactionCoordinator.ManagedTransactionCoordinator(AbstractConnection connection)
connection - connection to coordinate.protected void completeStatements(AbstractStatement.CompletionReason reason) throws java.sql.SQLException
completeStatements in class InternalTransactionCoordinator.AbstractTransactionCoordinatorjava.sql.SQLExceptionpublic void ensureTransaction()
throws java.sql.SQLException
ensureTransaction in class InternalTransactionCoordinator.LocalTransactionCoordinatorjava.sql.SQLExceptionpublic void executionStarted(AbstractStatement stmt) throws java.sql.SQLException
FBObjectListener.StatementListenerexecutionStarted in interface FBObjectListener.StatementListenerexecutionStarted in class InternalTransactionCoordinator.LocalTransactionCoordinatorstmt - statement that is being executed.java.sql.SQLException - if something went wrong.public void commit()
throws java.sql.SQLException
commit in class InternalTransactionCoordinator.LocalTransactionCoordinatorjava.sql.SQLExceptionpublic void rollback()
throws java.sql.SQLException
rollback in class InternalTransactionCoordinator.LocalTransactionCoordinatorjava.sql.SQLExceptionpublic void executionStarted(FirebirdBlob blob) throws java.sql.SQLException
FBObjectListener.BlobListenerexecutionStarted in interface FBObjectListener.BlobListenerexecutionStarted in class InternalTransactionCoordinator.LocalTransactionCoordinatorblob - instance of FirebirdBlob that caused this event.java.sql.SQLException - if something went wrong.Copyright © 2001-2012 Jaybird (Firebird JDBC/JCA) team. All rights reserved.