Oracle
1Z0-860 · Question #66
Which statement is true about the use of a persist operation in a transaction?
The correct answer is C. If a user persists a new entity with an existing primary key the transaction will fail. See the full explanation below for the reasoning.
Question
Which statement is true about the use of a persist operation in a transaction?
Options
- AIf a user persists a detached object it always becomes managed.
- BThe persist operation on an entity always cascades to its related entities.
- CIf a user persists a new entity with an existing primary key the transaction will fail.
- DIf a user persists a managed entity an exception may be thrown by the persist operation.
How the community answered
(67 responses)- A7% (5)
- B4% (3)
- C73% (49)
- D15% (10)
Community Discussion
No community discussion yet for this question.