An application uses an application-managed entity manager. Which of the following is NOT true?
A.
The application may specify whether the scope of the persistence context is extended.
B.
The application must use EntityManagerFactory instances to create entity managers.
C.
Entity manager instances must be explicitly closed.
D.
The application may need to call EntityManager. joinTransaction If a JTA aware entity manager is used.
A Correct
Correct answer is A.
All application-managed persistence contexts are extended in scope, and can span multiple transactions.