Skip to content

Self autowiring does not work for transactional beans [SPR-16645] #21186

Closed
@spring-projects-issues

Description

@spring-projects-issues

Jon Rimmer opened SPR-16645 and commented

The ability for beans to self autowire was added in: #13096

However, this does not work if the bean to self wire is transactional, e.g. has at least one method annotated with @transactional when transactions are enabled.

See the linked GitHub project for a very simple reproduction.


Affects: 5.0.4

Reference URL: https://github.com/jonrimmer/spring-self-autowiring-is-broken

Issue Links:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: invalidAn issue that we don't feel is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions