|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.firebirdsql.jdbc.InternalTransactionCoordinator.AbstractTransactionCoordinator
org.firebirdsql.jdbc.InternalTransactionCoordinator.MetaDataTransactionCoordinator
public static class InternalTransactionCoordinator.MetaDataTransactionCoordinator
| Field Summary |
|---|
| Fields inherited from class org.firebirdsql.jdbc.InternalTransactionCoordinator.AbstractTransactionCoordinator |
|---|
connection, localTransaction, statements |
| Constructor Summary | |
|---|---|
InternalTransactionCoordinator.MetaDataTransactionCoordinator()
Create coordinator for the unspecified connection. |
|
InternalTransactionCoordinator.MetaDataTransactionCoordinator(InternalTransactionCoordinator tc)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.firebirdsql.jdbc.InternalTransactionCoordinator.AbstractTransactionCoordinator |
|---|
completeStatements, getConnection, getStatements, setStatements |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InternalTransactionCoordinator.MetaDataTransactionCoordinator(InternalTransactionCoordinator tc)
public InternalTransactionCoordinator.MetaDataTransactionCoordinator()
| Method Detail |
|---|
public void ensureTransaction()
throws SQLException
ensureTransaction in class InternalTransactionCoordinator.AbstractTransactionCoordinatorSQLException
public void commit()
throws SQLException
commit in class InternalTransactionCoordinator.AbstractTransactionCoordinatorSQLException
public void rollback()
throws SQLException
rollback in class InternalTransactionCoordinator.AbstractTransactionCoordinatorSQLException
public void executionStarted(AbstractStatement stmt)
throws SQLException
FBObjectListener.StatementListener
stmt - statement that is being executed.
SQLException - if something went wrong.
public void statementClosed(AbstractStatement stmt)
throws SQLException
FBObjectListener.StatementListener
stmt - statement that was closed.
SQLException
public void statementCompleted(AbstractStatement stmt)
throws SQLException
FBObjectListener.StatementListenerstatementCompleted(AbstractStatement, true).
stmt - statement that was completed.
SQLException
public void statementCompleted(AbstractStatement stmt,
boolean success)
throws SQLException
FBObjectListener.StatementListener
stmt - statement that was completed.success - true if completion was successfull.
SQLException - if an error occured.
public void executionCompleted(FirebirdBlob blob)
throws SQLException
FBObjectListener.BlobListener
blob - instance of FirebirdBlob that caused this event.
SQLException - if something went wrong.
public void executionStarted(FirebirdBlob blob)
throws SQLException
FBObjectListener.BlobListener
blob - instance of FirebirdBlob that caused this event.
SQLException - if something went wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||