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 7 Question 50 Discussion

Actual exam question for VMware's 2V0-72.22 exam
Question #: 50
Topic #: 7
[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:

Ettie
5 months ago
This question is a real transaction-al nightmare! But I'm glad I read the options carefully. C and E for the win!
upvoted 0 times
Alayna
4 months ago
Good thing we paid attention to the details. C and E it is!
upvoted 0 times
...
Harris
4 months ago
I almost got confused with the other options, but C and E stood out.
upvoted 0 times
...
Freeman
5 months ago
Yes, you're right. Those are the ones indicating the transaction should be committed.
upvoted 0 times
...
Dean
5 months ago
I think C and E are the correct annotations.
upvoted 0 times
...
...
Jerrod
5 months ago
I think the correct annotations are @Commit and @Transactional(commit=true).
upvoted 0 times
...
Teddy
5 months ago
I was totally going to choose D. Looks like I need to brush up on my transaction management annotations. *facepalm*
upvoted 0 times
Roxane
5 months ago
It's actually B and C that indicate the transaction should be committed.
upvoted 0 times
...
Lashaunda
5 months ago
Don't worry, I also thought D was the right choice.
upvoted 0 times
...
...
Murray
5 months ago
But @Sql(alwaysCommit=true) is not a valid annotation for committing transactions.
upvoted 0 times
...
Mi
5 months ago
I disagree, I believe it's @Commit and @Sql(alwaysCommit=true).
upvoted 0 times
...
Shonda
6 months ago
Ah, I see. So the @Rollback(false) and @Sql(alwaysCommit=true) options are just red herrings. Good to know!
upvoted 0 times
...
Murray
6 months ago
I think the correct annotations are @Commit and @Rollback(false).
upvoted 0 times
...
Christiane
6 months ago
C and E are the correct answers. The @Commit and @Transactional(commit=true) annotations indicate that the transaction should be committed after the test method has completed.
upvoted 0 times
Emelda
5 months ago
Good to know, thanks for clarifying.
upvoted 0 times
...
Vivienne
5 months ago
Yes, you're right. Those annotations indicate that the transaction should be committed.
upvoted 0 times
...
Bettina
5 months ago
I think the correct answers are C and E.
upvoted 0 times
...
...

Save Cancel