Beginner |
 |
Joined: Mon Sep 12, 2005 3:27 am Posts: 48
|
Isn't it a non-todo to change the object of an event-listener inside this listener ? Don't really know, we only do queries based on this object or persist NEW objects inside hibernate-listeners....
But you could try to manually persist this (changed) entity via SF.saveOrUpdate(changed_entity). The only problem for you is to insert the SessionFactory inside the listener. This depends on what you are using - an Application-Server like jboss or standalone java client...
|
|