-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: testIssues in the test moduleIssues in the test moduletype: enhancementA general enhancementA general enhancement
Milestone
Description
Sam Brannen opened SPR-13276 and commented
@Rollback
is currently supported on test methods, with class-level rollback settings configured via @TransactionConfiguration
.
Allowing @Rollback
to be declared on test classes with method-level declarations overriding class-level declarations would prove more intuitive than having to declare @TransactionConfiguration
and @Rollback
. Furthermore, the transactionManager
flag in @TransactionConfiguration
was made superfluous many years ago with the introduction of support for a qualifier in @Transactional
(which is also supported by the TestContext framework).
See also: #17868
Issue Links:
- Deprecate @TransactionConfiguration in favor of @Rollback and @Transactional qualifiers [SPR-13277] #17868 Deprecate
@TransactionConfiguration
in favor of@Rollback
and@Transactional
qualifiers ("is depended on by")
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test moduletype: enhancementA general enhancementA general enhancement