Skip to content

Add transactionManager property to @Transactional configuration [SPR-6283] #10950

@spring-projects-issues

Description

@spring-projects-issues

Niklas Saers opened SPR-6283 and commented

Hi guys,
When I write my tests I can say "@TransactionConfiguration(transactionManager="transactionManager", defaultRollback=true)". It would be great to have the transactionManager part available, either as a similar @TransactionConfiguration annotation, or as a property on @Transactional. Right now it's non-trivial to use multiple transaction managers like I have when dealing with multiple legacy databases from within the same Spring application

Cheers

Nik

Affects: 3.0 RC1

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions