Application managed persistence context are always extended.
Kengkaj Sathianpantarit wrote:so you need to call joinTransaction in other method to synchronize the persistence context with JPA transaction.
Confusion again, as I know, this persistence context (above code) is already associated with the methods JTA transaction. So no need to call joinTransaction() here. Right?
Now what about this WhizLabs statement:
WhizLabs wrote:Application managed extended persistence contexts needs to explicitly associated with JTA transaction.