using
EntityManagerFactory emf = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME, hibernateReactiveProperties());
Mutiny.SessionFactory reactiveSessionFactory = emf.unwrap(Mutiny.SessionFactory.class);
but there are no entities being scan although they are marked with @Entity
annotation.
I wonder if there should be a place to configure the package to scan for the EntityManagerFactory
?
In Spring there is LocalSessionFactoryBean
with its setter setPackagesToScan("com.123.123")