READ Free Dumps For Oracle- 1z0-898
Question ID 4606 | An application has two entities, parson and Address. |
Option A | A. The person entities are removed, but NOT their related address entities. |
Option B | B. The person entities, and all their related address entities, are removed. |
Option C | C. The DeletePersonsByStatus named query is ill-formed, and will be rejected by the persistence provider. |
Option D | D. The named query will fall. |
Correct Answer | A |
Question ID 4607 | An application uses optimistic locking by defining version attributes in its entity classes. The application performs a bulk update of the entities using a JPQL query. |
Option A | A. The persistence provider will ensure that the version value in each table is updated. |
Option B | B. The persistence provider will create a new transaction for the bulk update. |
Option C | C. An OptimisticLockException will be thrown by the persistence provider. |
Option D | D. The value of the Version attributes of the updated entitles should be also be explicitly updated by the query. |
Correct Answer | D |