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
Show replies by date