nerdexam
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)
  • A
    7% (5)
  • B
    4% (3)
  • C
    73% (49)
  • D
    15% (10)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice