nerdexam
Broadcom-VMware

2V0-72.22 · Question #22

Which two annotations indicate that the transaction for a transactional test method should be committed after the test method has completed? (Choose two.)

The correct answer is B. @Rollback(false) C. @Commit. See the full explanation below for the reasoning.

Question

Which two annotations indicate that the transaction for a transactional test method should be committed after the test method has completed? (Choose two.)

Options

  • A@SqlMergeMode(false)
  • B@Rollback(false)
  • C@Commit
  • D@Sql(alwaysCommit=true)
  • E@Transactional(commit=true)

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    84% (31)
  • D
    8% (3)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 2V0-72.22 Practice