-
Apr 13th, 2009, 12:04 PM
#1
TransactionalTestExecutionListener and REQUIRES_NEW with rollback
Hello,
We would like our methods annotated with REQUIRES_NEW to rollback during test. How?
our test class annotations:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "file1-applicationContext.xml", "/file2-applicationContext.xml" })
@TestExecutionListeners( { TransactionalTestExecutionListener.class, DependencyInjectionTestExecutionListener.class,
DirtiesContextTestExecutionListener.class })
@TransactionConfiguration(transactionManager = "my_transactionManager")
@Transactional
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules