VMware vRealize Automation 8.x (2022) — Question 55
Which two annotations indicate that the transaction for a transactional test method should be committed after the test method has completed? (Choose two.)
Answer options
- A. @SqlMergeMode(false)
- B. @Rollback(false)
- C. @Commit
- D. @Sql(alwaysCommit=true)
- E. @Transactional(commit=true)
Correct answer: B, C
Explanation
The correct annotations are @Rollback(false) and @Commit, as they explicitly instruct the test framework to commit the transaction after the test completes. The other options either indicate a rollback or do not specifically manage transaction commitment.