public class JTATransactionWrapper extends JTATransactionWrapper implements TransactionWrapper
oracle.toplink.essentials.internal.ejb.cmp3.transactionJTATransactionWrappertxnControllerentityManager, localUOW, txnKey| Constructor and Description |
|---|
JTATransactionWrapper(EntityManagerImpl entityManager) |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityTransaction |
getTransaction()
An ENtityTransaction cannot be used at the same time as a JTA transaction
throw an exception
|
protected void |
throwCheckTransactionFailedException() |
checkForTransaction, clear, getTransactionalUnitOfWork, registerUnitOfWorkWithTxn, setRollbackOnlyInternal, shouldFlushBeforeQuery, throwUserTransactionExceptiongetLocalUnitOfWork, setLocalUnitOfWorkpublic JTATransactionWrapper(EntityManagerImpl entityManager)
public javax.persistence.EntityTransaction getTransaction()
getTransaction in interface TransactionWrapperprotected void throwCheckTransactionFailedException()
throwCheckTransactionFailedException in class JTATransactionWrapper