Which of the following is NOT true?

An application uses an application-managed entity manager. Which of the following is NOT true?

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.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Anas LACHHEB

Anas LACHHEB

A Correct

Tommy_Croatia_ZGB

Tommy_Croatia_ZGB

Correct answer is A.

All application-managed persistence contexts are extended in scope, and can span multiple transactions.