Oracle
1Z0-860 · Question #262
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
- EccersistenceContext
How the community answered
(20 responses)- B5% (1)
- C5% (1)
- D75% (15)
- E15% (3)
Community Discussion
No community discussion yet for this question.