Oracle
1Z0-860 · Question #4
1Z0-860 Question #4: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #4. The question stem and answer options stay visible for context.
Question
Given this Java EE application that uses a JTA application-managed entity manager: 20. UserTransaction utx = ...; 21. utx.beginQ; 22. // insert code here 23. utx.commitQ; Which two code fragments can be used on Line 22 to persist an order instance assuming that all references are properly initialized? (Choose two.
Options
- Aem.merge(order); em.flushQ;
- Bem.persist(order); em.flushO;
- Cem.joinTransactionO; em.persist(order);
- Dem = emfcreateEntityManagerQ; em.persist(order);
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.