|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cocome.tradingsystem.inventory.data.persistence.impl.TransactionContextImpl
public class TransactionContextImpl
Constructor Summary | |
---|---|
TransactionContextImpl(javax.persistence.EntityTransaction t)
|
Method Summary | |
---|---|
void |
beginTransaction()
starts a new transaction |
void |
commit()
commits the current transaction |
java.lang.Boolean |
isActive()
checks whether this transaction is still active |
void |
rollback()
does a rollback on the current transaction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransactionContextImpl(javax.persistence.EntityTransaction t)
Method Detail |
---|
public void beginTransaction()
TransactionContext
beginTransaction
in interface TransactionContext
public void commit()
TransactionContext
commit
in interface TransactionContext
public void rollback()
TransactionContext
rollback
in interface TransactionContext
public java.lang.Boolean isActive()
TransactionContext
isActive
in interface TransactionContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |