| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.firebirdsql.jdbc.InternalTransactionCoordinator.AbstractTransactionCoordinatororg.firebirdsql.jdbc.InternalTransactionCoordinator.MetaDataTransactionCoordinatorpublic static class InternalTransactionCoordinator.MetaDataTransactionCoordinatorField Summary |
Fields inherited from class org.firebirdsql.jdbc.InternalTransactionCoordinator.AbstractTransactionCoordinator | |
connection, localTransaction, statements | |
Constructor Summary | |
| |
Method Summary | |
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.firebirdsql.jdbc.InternalTransactionCoordinator.AbstractTransactionCoordinator | |
commit, completeStatements, ensureTransaction, getConnection, getStatements, rollback, setStatements | |
public MetaDataTransactionCoordinator()
Create coordinator for the unspecified connection.
public MetaDataTransactionCoordinator(InternalTransactionCoordinator tc)
public void commit()
throws SQLException
- Overrides:
- commit in interface InternalTransactionCoordinator.AbstractTransactionCoordinator
public void ensureTransaction()
throws SQLException
- Overrides:
- ensureTransaction in interface InternalTransactionCoordinator.AbstractTransactionCoordinator
public void executionCompleted(FirebirdBlob blob) throws SQLException
Notify listener that execution of some BLOB operation had been completed.
- Specified by:
- executionCompleted in interface FBObjectListener.BlobListener
- Parameters:
blob- instance ofFirebirdBlobthat caused this event.
public void executionStarted(AbstractStatement stmt) throws SQLException
Notify listener that statement execution is being started.
- Specified by:
- executionStarted in interface FBObjectListener.StatementListener
- Parameters:
stmt- statement that is being executed.
public void executionStarted(FirebirdBlob blob) throws SQLException
Notify listener that execution of some BLOB operation had been started.
- Specified by:
- executionStarted in interface FBObjectListener.BlobListener
- Parameters:
blob- instance ofFirebirdBlobthat caused this event.
public void rollback()
throws SQLException
- Overrides:
- rollback in interface InternalTransactionCoordinator.AbstractTransactionCoordinator
public void statementClosed(AbstractStatement stmt) throws SQLException
Notify the listener that statement was closed.
- Specified by:
- statementClosed in interface FBObjectListener.StatementListener
- Parameters:
stmt- statement that was closed.
public void statementCompleted(AbstractStatement stmt) throws SQLException
Notify the listener that statement is completed. This is shortcut method forstatementCompleted(AbstractStatement, true).
- Specified by:
- statementCompleted in interface FBObjectListener.StatementListener
- Parameters:
stmt- statement that was completed.
public void statementCompleted(AbstractStatement stmt, boolean success) throws SQLException
Notify the listener that statement is completed and tell whether execution was successfull or not.
- Specified by:
- statementCompleted in interface FBObjectListener.StatementListener
- Parameters:
stmt- statement that was completed.success-trueif completion was successfull.