Bugs item #679529, was opened at 2003-02-03 17:46 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=679529&group_id=40712
Category: None Group: None Status: Open Resolution: None Priority: 2 Submitted By: Dominik Roblek (dominikr) Assigned to: Nobody/Anonymous (nobody) Summary: Hibernate 2.0 beta 2: Lifecycle.onUpdate() not called Initial Comment: I have the following problem with Hibernate 2.0 beta 2: Lifecycle method onUpdate() is not called when entity is passed to Session.update() method. ---------------------------------------------------------------------- Comment By: lomeo (lomeo) Date: 2003-02-07 17:54 Message: Logged In: YES user_id=410388 According to code [net.sf.hibernate.impl.SessionImpl.java] onUpdate() is not called if an entity already associated with session. Why? ---------------------------------------------------------------------- Comment By: Gavin King (oneovthafew) Date: 2003-02-04 02:28 Message: Logged In: YES user_id=384580 Hmmmm. Interesting suggestion. I'll give it some thought.... (I'm not convinced yet.) ---------------------------------------------------------------------- Comment By: Dominik Roblek (dominikr) Date: 2003-02-03 17:53 Message: Logged In: YES user_id=83652 The bug appears only if entity is already associated with session - if it has been read within the same session: - start session - load entity with Session.load() - update a property in entity - update entity with Session.update() - Lifecycle.onUpdate will not be called on the entity. I think, it should be reagardles of the place, where entity has been loaded ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=679529&group_id=40712 ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel