|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionHandler
Interface which defines callbacks to be used when transaction methods are called on a handle.
Used by specifying on an IDBI
instance. All Handle
instances
opened from that IDBI
will use the handler specified.
ConnectionTransactionHandler
, explicitely manages
the transactions on the underlying JDBC Connection
.
ConnectionTransactionHandler
,
CMTConnectionTransactionHandler
Method Summary | |
---|---|
void |
begin(Handle handle)
Called when a transaction is started |
void |
commit(Handle handle)
Called when a transaction is committed |
boolean |
isInTransaction(Handle handle)
Called to test if a handle is in a transaction |
void |
rollback(Handle handle)
Called when a transaction is rolled back |
Method Detail |
---|
void begin(Handle handle)
void commit(Handle handle)
void rollback(Handle handle)
boolean isInTransaction(Handle handle)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |