nerdexam
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)
  • A
    5% (3)
  • B
    2% (1)
  • C
    2% (1)
  • D
    79% (44)
  • E
    13% (7)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice