Oracle
1Z0-860 · Question #56
1Z0-860 Question #56: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #56. The question stem and answer options stay visible for context.
Question
A developer is writing a stateless session bean that is obtaining a transaction-scoped entity manager using injection and assumes the application defines one persistence unit. Which declaration is correct?
Options
- A©Resource EntityManager em;
- B@PersistenceUnit EntityManager em;
- C@PersistenceContext EntityManager em;
- D@PersistenceUnit("TransactionScoped") EntityManager em;
Unlock 1Z0-860 to see the answer
You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.