This content has been marked as final.
Show 4 replies
-
1. Re: configuration: hiberante events in seam
pmuir Jan 9, 2008 7:03 PM (in response to mars1412)Ask on the hibernate forum.
-
2. Re: configuration: hiberante events in seam
mars1412 Jan 10, 2008 4:36 AM (in response to mars1412) -
3. Re: configuration: hiberante events in seam
christian.bauer Jan 10, 2008 4:47 AM (in response to mars1412)The examples/wiki/codebase uses custom hibernate listeners. You are extending the wrong listener superclass.
-
4. Re: configuration: hiberante events in seam
mars1412 Jan 10, 2008 8:15 AM (in response to mars1412)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?