Skip to content

TransactionAspectSupport should be aware of CallbackPreferringPlatformTransactionManager to better support WebSphere, more specifically REQUIRES_NEW and NOT_SUPPORTED propagation [SPR-9268] #13906

@spring-projects-issues

Description

@spring-projects-issues

László Váradi opened SPR-9268 and commented

TransactionAspectSupport uses the "getTransaction" style for setting up transaction environment for the actual method. However, in this style transaction suspension is not supported by WebSphereUowTransactionManager, as it is said in the javadoc of it.

TransactionAspectSupport should be refactored to be able to handle CallbackPreferringPlatformTransactionManager transaction managers. However, the "execute" style needs refactoring in the AbstractTransactionAspect aspect, as this style can be supported only with around advice, but not with before + after advises.


Affects: 3.0.7

Attachments:

0 votes, 6 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)in: dataIssues in data modules (jdbc, orm, oxm, tx)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions