Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

Exam 2V0-72.22 topic 1 question 52 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 52
Topic #: 1
[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.)

  • A. @SqlMergeMode(false)
  • B. @Rollback(false)
  • C. @Commit
  • D. @Sql(alwaysCommit=true)
  • E. @Transactional(commit=true)
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
2211094
5 months, 1 week ago
The correct answer is BC
upvoted 1 times
...
saJAva
5 months, 2 weeks ago
Selected Answer: BC
correct
upvoted 2 times
...
asaladino75
8 months, 3 weeks ago
Selected Answer: B
The B answer is correct. https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/test/annotation/Rollback.html
upvoted 2 times
...
james2033
9 months, 4 weeks ago
Selected Answer: C
@SpringJUnitConfig @Transactional(transactionManager = "txMgr") @Commit class FictitiousTransactionalTest { https://docs.spring.io/spring-framework/reference/testing/testcontext-framework/tx.html#testcontext-tx-annotation-demo
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...