spring-framework
                                
                                 spring-framework copied to clipboard
                                
                                    spring-framework copied to clipboard
                            
                            
                            
                        `@ImportRuntimeHints` does not work on `AbstractEntityManagerFactoryBean`
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 ?).