spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

`@ImportRuntimeHints` does not work on `AbstractEntityManagerFactoryBean`

Open sdeleuze opened this issue 3 years ago • 0 comments

While working on #29138, I found that a @ImportRuntimeHints(EntityManagerRuntimeHints.class) annotation on AbstractEntityManagerFactoryBean was not taken in account in the data-jpa smoke test sample. So I tried adding it to LocalEntityManagerFactoryBean and LocalContainerEntityManagerFactoryBean, but same result. I ended-up registering via aot.factories but it would be nice to understand why this does not work (FactoryBean, InitializingBean ?).

sdeleuze avatar Sep 13 '22 12:09 sdeleuze