READ Free Dumps For Oracle- 1z0-898
Question ID 4608 | A named query that sets an exclusive pessimistic on the entities returned by the query by setting the NamedQuery lockMode element to LockModeType.PESSIMISTIC_FORCE_INCREMENT. The application starts transaction and executes the query. |
Option A | A. Only the current transition may modify or delete the entity instances. |
Option B | B. The current transaction may NOT modify or delete the entity instances. |
Option C | C. Other concurrent transactions may modify or delete the entity instances. |
Option D | D. Other concurrent transactions may modify but MAY NOT delete the entity instances. |
Correct Answer | A |
Question ID 4609 | A developer wants to create a Java Persistence query that will include a subquery. Which three are true? (Choose three.) |
Option A | A. Subqueries can be used in a FROM clause. |
Option B | B. Subqueries can be used in a WHERE clause. |
Option C | C. The ANY expression can be used only with a subquery. |
Option D | D. The EXISTS expression can be used only with a subquery. |
Option E | E. The MEMBER expression can be used only with a subquery. |
Correct Answer | B,C,D |