nerdexam
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)
  • B
    5% (1)
  • C
    5% (1)
  • D
    75% (15)
  • E
    15% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice