Closed
Description
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:
- Support @Autowired-like self injection [SPR-8450] #13096 Support
@Autowired-like
self injection