Deal of The Day! 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
2 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
19 days ago
Good thing we paid attention to the details. C and E it is!
upvoted 0 times
...
Harris
27 days ago
I almost got confused with the other options, but C and E stood out.
upvoted 0 times
...
Freeman
1 months ago
Yes, you're right. Those are the ones indicating the transaction should be committed.
upvoted 0 times
...
Dean
1 months ago
I think C and E are the correct annotations.
upvoted 0 times
...
...
Jerrod
2 months ago
I think the correct annotations are @Commit and @Transactional(commit=true).
upvoted 0 times
...
Teddy
2 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
30 days ago
User 2: It's actually B and C that indicate the transaction should be committed.
upvoted 0 times
...
Lashaunda
1 months ago
User 1: Don't worry, I also thought D was the right choice.
upvoted 0 times
...
...
Murray
2 months ago
But @Sql(alwaysCommit=true) is not a valid annotation for committing transactions.
upvoted 0 times
...
Mi
2 months ago
I disagree, I believe it's @Commit and @Sql(alwaysCommit=true).
upvoted 0 times
...
Shonda
2 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
2 months ago
I think the correct annotations are @Commit and @Rollback(false).
upvoted 0 times
...
Christiane
2 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
1 months ago
Good to know, thanks for clarifying.
upvoted 0 times
...
Vivienne
1 months ago
Yes, you're right. Those annotations indicate that the transaction should be committed.
upvoted 0 times
...
Bettina
2 months ago
I think the correct answers are C and E.
upvoted 0 times
...
...

Save Cancel