PdfPrep.com

Which of the following statements about use of the @Transactional annotation in a JUnit integration test is NOT true? (Select one)

Which of the following statements about use of the @Transactional annotation in a JUnit integration test is NOT true? (Select one)
A . Annotating a test with @Transactional will cause the test method to run in a transaction
B . Annotating a test class with @Transactional will cause all its test methods to run in transactions
C . Application code that runs in a transaction with REQUIRES_NEW propagation can have those changes rolled back by an @Transactional test

Answer: C

Exit mobile version