@ImportRuntimeHints
does not work on AbstractEntityManagerFactoryBean
#29145
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
While working on #29138, I found that a
@ImportRuntimeHints(EntityManagerRuntimeHints.class)
annotation onAbstractEntityManagerFactoryBean
was not taken in account in thedata-jpa
smoke test sample. So I tried adding it toLocalEntityManagerFactoryBean
andLocalContainerEntityManagerFactoryBean
, but same result. I ended-up registering viaaot.factories
but it would be nice to understand why this does not work (FactoryBean
,InitializingBean
?).The text was updated successfully, but these errors were encountered: