Oracle
1Z0-860 · Question #47
1Z0-860 Question #47: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #47. The question stem and answer options stay visible for context.
Question
A business method of a stateless session bean with a transaction attribute REQUIRED executes a Java Persistence query on a container-managed persistence context. Under which two conditions can the developer expect the persistence provider to ensure that all changes made to the persistence context in the transaction are visible to the processing of the query? (Choose two.)
Options
- AThe flush mode is NOT explicitly set.
- BThe flush mode on the Query object is set to COMMIT.
- CThe refresh method on the EntityManager is called.
- DThe flush mode on the persistence context is set to AUTO but is NOT specified for the Query object.
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.