Injecting EXTENDED @PersistenceContext into JUnit 4 test class causes NoSuchBeanDefinitionException [SPR-8834] #13476
I'm trying to use a container-managed extended
Reproducible example attached.
To reproduce, extract archives in archive, issue
If reproduced, you should get an exception like the one below. If you comment out
Affects: 3.1 RC1
1 votes, 5 watchers
The text was updated successfully, but these errors were encountered:
Juergen Hoeller commented
Seems like PersistenceAnnotationBeanPostProcessor has an assumption for a bean backed by a BeanDefinition there... I'll try to remove that, allowing for PABPP to consistently work for a non-managed target instance as well.