See: Description
Class | Description |
---|---|
TestContextTransactionUtils |
Utility methods for working with transactions and data access related beans
within the Spring TestContext Framework.
|
TestTransaction |
TestTransaction provides a collection of static utility methods for
programmatic interaction with test-managed transactions within
test methods, before methods, and after methods. |
TransactionalTestExecutionListener |
TestExecutionListener that provides support for executing tests
within test-managed transactions by honoring Spring's
@Transactional
annotation. |
TransactionConfigurationAttributes | Deprecated
As of Spring Framework 4.2, this class is officially deprecated
and will be removed when
@TransactionConfiguration is removed. |
Annotation Type | Description |
---|---|
AfterTransaction |
Test annotation to indicate that the annotated
public void method
should be executed after a transaction is ended for a test method
configured to run within a transaction via the @Transactional annotation. |
BeforeTransaction |
Test annotation to indicate that the annotated
public void method
should be executed before a transaction is started for a test method
configured to run within a transaction via the @Transactional annotation. |
TransactionConfiguration | Deprecated
As of Spring Framework 4.2, use
@Rollback at the class
level and the transactionManager qualifier in @Transactional . |