Closed
Description
Holger Stenzhorn opened SPR-14892 and commented
In version 4.3.3 the following code to inject a bean into a Hibernate entity using load time weaving worked flawlessly and someBean
is correctly set but after upgrading to version 4.3.4 someBean
is now null
.
@Configurable(preConstruction = true)
@Entity
public class ExampleEntity {
@Inject SomeBean someBean;
...
}
Affects: 4.3.4
Issue Links:
- Allow type produced by ScopedProxyFactoryBean to be determined before singleton is created [SPR-14816] #19382 Allow type produced by ScopedProxyFactoryBean to be determined before singleton is created
- NPE in LoadTimeWeavingConfiguration: loadTimeWeaver() called too early [SPR-14931] #19498 NPE in LoadTimeWeavingConfiguration: loadTimeWeaver() called too early
- Regression with poolTargetSource and scoped proxy [SPR-15042] #19608 Regression with poolTargetSource and scoped proxy