Oracle
1Z0-860 · Question #133
Within a Java EE environment, which annotation can be used to inject an entity manager factory?
The correct answer is D. @PersistenceUnit. See the full explanation below for the reasoning.
Question
Within a Java EE environment, which annotation can be used to inject an entity manager factory?
Options
- A〦ntity
- B〧actory
- C@JTAFactory
- D@PersistenceUnit
- E©PersistenceContext
How the community answered
(56 responses)- A5% (3)
- B2% (1)
- C2% (1)
- D79% (44)
- E13% (7)
Community Discussion
No community discussion yet for this question.