WFLY-2387 is asking for EntityListeners to be able to (CDI) inject the 
PersistenceUnit associated with the entity class.

WFLY-2387 mentions that the Hibernate persistence unit needs to be 
available (for injection use) before EntityManagerFactoryBuilder.build() 
registers the entity listeners.

Would it be possible to introduce a (EntityManagerFactoryBuilder) post 
bootstrap phase that registers the entity listeners?

Scott
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to