Oracle
1Z0-860 · Question #289
1Z0-860 Question #289: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #289. The question stem and answer options stay visible for context.
Question
The execution of the find method in the following code throws an exception: 11. em.find(Customer.class, custld); 12. //Where em is a reference to a extended scoped entity manager. Which scenario can cause the exception?
Exhibit
Options
- AThe find method was called without a transaction.
- BThe entity corresponding to the requested primary key has been removed.
- CThe entity corresponding to the requested primary key has been detached.
- DThe data type of custld is NOT a valid type for the Customer entity primary key.
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.
