Prerequisites for binding the persistence context scope to the current transaction scope
The most common case is to bind the persistence context scope to the current transaction scope. This is only doable when JTA transactions are used: the persistence context is associated with the JTA transaction life cycle.