FileDocCategorySizeDatePackage
JTATransactionWrapper.javaAPI DocGlassfish v2 API3350Tue May 22 16:54:28 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.transaction

JTATransactionWrapper

public class JTATransactionWrapper extends JTATransactionWrapper implements TransactionWrapper
INTERNAL: JDK 1.5 specific version of JTATransactionWrapper. Differs from the JDK 1.4 version in that it implements a different version of the TransactionWrapper interface, uses a different EntityManager, and returns a different EntityTransaction version.
see
oracle.toplink.essentials.internal.ejb.cmp3.transactionJTATransactionWrapper

Fields Summary
Constructors Summary
public JTATransactionWrapper(EntityManagerImpl entityManager)

        super(entityManager);
    
Methods Summary
public javax.persistence.EntityTransactiongetTransaction()
An ENtityTransaction cannot be used at the same time as a JTA transaction throw an exception

        throw new IllegalStateException(TransactionException.entityTransactionWithJTANotAllowed().getMessage());
    
protected voidthrowCheckTransactionFailedException()

        throw new TransactionRequiredException(TransactionException.externalTransactionNotActive().getMessage());