Oracle
1Z0-860 · Question #84
1Z0-860 Question #84: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #84. The question stem and answer options stay visible for context.
Question
The Java Persistence API defines the Query interface. Which two statements about the Query.executeUpdate method are true? (Choose two.)
Options
- AIt must always be executed within a transaction.
- BIt throws a PersistenceException if no entities were updated.
- CIt throws an HlegalStateException if called on a Query instance created with a Java Persistence
- DAll managed entity objects corresponding to database rows affected by the update will have their state
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.