How to configure event listeners using Hibernate 4 in EAP 6?
Issue
The Hibernate event listener configured in hibernate.cfg.xml as following work fine in EAP 5 with Hibernate 3.
<event type="pre-update">
<listener class="mypackage.listeners.PreEventListener"/>
</event>
However, it doesn't work in EAP6 with Hibernate 4 any more.
How to configure event listeners in EAP 6 with Hibernate 4?
Environment
- JBoss Enterprise Application Platform(EAP) 6.x
- Hibernate 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.