thanx, that works, but I still don't understand why the hibernate-config does 
not work:

I thought, the following 2 configurations should do the same:

persistence.xml - works

  |          <property name="hibernate.ejb.event.post-insert"
  |                    
value="com.twentyfouract.web.session.util.HistoryInsertEventListener"/>
  | 

hibernate.cfg.xml - does not work

  |         <event type="post-insert">
  |             <listener 
class="com.twentyfouract.web.session.util.HistoryInsertEventListener" />
  |         </event>
  | 

any ideas?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118641#4118641

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118641
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to