public static class InternalTransactionCoordinator.MetaDataTransactionCoordinator extends InternalTransactionCoordinator.AbstractTransactionCoordinator
connection, localTransaction, statements| Constructor and Description |
|---|
InternalTransactionCoordinator.MetaDataTransactionCoordinator()
Create coordinator for the unspecified connection.
|
InternalTransactionCoordinator.MetaDataTransactionCoordinator(InternalTransactionCoordinator tc) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
void |
ensureTransaction() |
void |
executionCompleted(FirebirdBlob blob)
Notify listener that execution of some BLOB operation had been completed.
|
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() |
void |
statementClosed(AbstractStatement stmt)
Notify the listener that statement was closed.
|
void |
statementCompleted(AbstractStatement stmt)
Notify the listener that statement is completed.
|
void |
statementCompleted(AbstractStatement stmt,
boolean success)
Notify the listener that statement is completed and tell whether
execution was successfull or not.
|
completeStatements, getConnection, getStatements, setStatementspublic InternalTransactionCoordinator.MetaDataTransactionCoordinator(InternalTransactionCoordinator tc)
public InternalTransactionCoordinator.MetaDataTransactionCoordinator()
public void ensureTransaction()
throws java.sql.SQLException
ensureTransaction in class InternalTransactionCoordinator.AbstractTransactionCoordinatorjava.sql.SQLExceptionpublic void commit()
throws java.sql.SQLException
commit in class InternalTransactionCoordinator.AbstractTransactionCoordinatorjava.sql.SQLExceptionpublic void rollback()
throws java.sql.SQLException
rollback in class InternalTransactionCoordinator.AbstractTransactionCoordinatorjava.sql.SQLExceptionpublic void executionStarted(AbstractStatement stmt) throws java.sql.SQLException
FBObjectListener.StatementListenerstmt - statement that is being executed.java.sql.SQLException - if something went wrong.public void statementClosed(AbstractStatement stmt) throws java.sql.SQLException
FBObjectListener.StatementListenerstmt - statement that was closed.java.sql.SQLExceptionpublic void statementCompleted(AbstractStatement stmt) throws java.sql.SQLException
FBObjectListener.StatementListenerstatementCompleted(AbstractStatement, true).stmt - statement that was completed.java.sql.SQLExceptionpublic void statementCompleted(AbstractStatement stmt, boolean success) throws java.sql.SQLException
FBObjectListener.StatementListenerstmt - statement that was completed.success - true if completion was successfull.java.sql.SQLException - if an error occured.public void executionCompleted(FirebirdBlob blob) throws java.sql.SQLException
FBObjectListener.BlobListenerblob - instance of FirebirdBlob that caused this event.java.sql.SQLException - if something went wrong.public void executionStarted(FirebirdBlob blob) throws java.sql.SQLException
FBObjectListener.BlobListenerblob - 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.