|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectsimplejpa.transaction.TransactionHolder
class TransactionHolder extends Object
| Field Summary | |
|---|---|
private static org.slf4j.Logger |
LOG
|
private boolean |
isRollback
|
| Property Summary | |
|---|---|
EntityManager |
em
|
int |
resumeLevel
|
| Constructor Summary | |
TransactionHolder(EntityManager em)
|
|
| Method Summary | |
|---|---|
boolean
|
beginTransaction(boolean resume = true)
|
boolean
|
commitTransaction()
|
EntityTransaction
|
getTransaction()
|
boolean
|
isInTransaction()
|
boolean
|
rollbackTransaction()
|
String
|
toString()
|
| Methods inherited from class Object | |
|---|---|
| getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static org.slf4j.Logger LOG
private boolean isRollback
| Property Detail |
|---|
EntityManager em
int resumeLevel
| Constructor Detail |
|---|
TransactionHolder(EntityManager em)
| Method Detail |
|---|
boolean beginTransaction(boolean resume = true)
boolean commitTransaction()
EntityTransaction getTransaction()
boolean isInTransaction()
boolean rollbackTransaction()
@Override String toString()
Groovy Documentation