public interface TransactionResource
| Modifier and Type | Interface and Description |
|---|---|
static class |
TransactionResource.Response
Response enum
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isActive()
Returns true if transaction is active else false.
|
void |
onBegin()
On begin transactions.
|
void |
onCommit()
On commit transactions.
|
void |
onFlush()
On intermediate flush, when explicitly flush is invoked by em.flush()!
|
void |
onRollback()
On rollback transactions.
|
TransactionResource.Response |
prepare()
On prepare for two phase commit.
|
void onBegin()
void onCommit()
void onRollback()
void onFlush()
TransactionResource.Response prepare()
boolean isActive()
Copyright © 2015. All Rights Reserved.