Oracle
1Z0-860 · Question #167
A developer's objective is to end the persistence context associated with an application-managed entity manager. Which statement is correct?
The correct answer is B. Invoke the close method of the entity manager. See the full explanation below for the reasoning.
Question
A developer's objective is to end the persistence context associated with an application-managed entity manager. Which statement is correct?
Options
- AInvoke the flush method of the entity manager.
- BInvoke the close method of the entity manager.
- CInvoke the clear method of the entity manager.
- DInvoke the remove method of the entity manager.
How the community answered
(30 responses)- A13% (4)
- B70% (21)
- C7% (2)
- D10% (3)
Community Discussion
No community discussion yet for this question.