WhizLabs wrote:If a JTA transaction is propagated into the stateful session bean to which an extended persistence context is bound but with the JTA bound persistence context is different, container throws an EJBException
Is this correct? I actually couldn't understand this.
A new persistence context begins when the container-managed entity manager is invoked in the
scope of an active JTA transaction, and there is no current persistence context already associated with
the JTA transaction. The persistence context is created and then associated with the JTA transaction.
So, this would imply that you are propagating the transaction, but as no persistent context was created, it is not propagated.
Hay, how do you memorized all of the concepts in EJB specs and JPA specs?