Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

VMware Exam 2V0-72.22 Topic 10 Question 45 Discussion

Actual exam question for VMware's 2V0-72.22 exam
Question #: 45
Topic #: 10
[All 2V0-72.22 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B, C

Contribute your Thoughts:

Val
6 months ago
I believe @Sql(alwaysCommit=true) could be a valid answer too.
upvoted 0 times
...
Stevie
6 months ago
@SqlMergeMode(false) isn't correct for committing the transaction.
upvoted 0 times
...
Glen
7 months ago
I agree with @Commit. But not sure about @Rollback(false).
upvoted 0 times
...
Omer
7 months ago
I think @Rollback(false) and @Commit are the right answers.
upvoted 0 times
...
Izetta
7 months ago
Yeah, tricky one. Which annotations commit the transaction after the test?
upvoted 0 times
...
Stevie
7 months ago
Hey, did you see the question about transactional test methods?
upvoted 0 times
...
Mary
8 months ago
Oh, I see. Thanks for clarifying.
upvoted 0 times
...
Markus
8 months ago
Actually, it's @Commit and @Transactional(commit=true).
upvoted 0 times
...
Mary
8 months ago
I think the annotations indicating that the transaction should be committed are @Commit and @Rollback(false).
upvoted 0 times
...

Save Cancel