A developer has created an application-managed entity manager. Which statement is correct?
A.
A new persistence context begins when the entity manager is created.
B.
A new persistence context begins when a new JTA transaction begins.
C.
A new persistence context begins when the entity manager is invoked in the context of a JTA
transaction.
D.
A new persistence context begins when the entity manager is invoked in the context of a
resourcE. local transaction.