Class TransactionWrapper
java.lang.Object
org.eclipse.persistence.jpa.rs.util.TransactionWrapper
- Direct Known Subclasses:
JTATransactionWrapper
,ResourceLocalTransactionWrapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
beginTransaction
(jakarta.persistence.EntityManager em) abstract void
commitTransaction
(jakarta.persistence.EntityManager em) abstract void
rollbackTransaction
(jakarta.persistence.EntityManager em)
-
Constructor Details
-
TransactionWrapper
public TransactionWrapper()
-
-
Method Details
-
beginTransaction
public abstract void beginTransaction(jakarta.persistence.EntityManager em) -
commitTransaction
public abstract void commitTransaction(jakarta.persistence.EntityManager em) -
rollbackTransaction
public abstract void rollbackTransaction(jakarta.persistence.EntityManager em)
-