A developer’s objective is to end the persistence context associated with an application-managed
entity manager. Which statement is correct?
A.
Invoke the flush method of theentitymanager.
B.
Invoke the close method of the entity manager.
C.
Invokethe clear methodofthe entity manager.
D.
Invoke the remove method of the entity manager.