Yep, they are called from inside delete(), save(), update(), _before_ we
grab the state of the object.

----- Original Message -----
From: "Mark Woon" <[EMAIL PROTECTED]>
To: "Hibernate Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 5:34 AM
Subject: [Hibernate] Lifecycle interface


> The docs for the Lifecycle interface says:
>
> onDelete - Called when an entity is deleted
> onSave - Called when an entity is saved.
> onUpdate - Called when an entity is passed to Session.update()
>
> Does that mean that these methods are called _before_ the SQL action is
> performed?  onLoad specifically states that it's called after the entity
> is loaded.
>
> Thanks,
> -Mark
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
>
> _______________________________________________
> hibernate-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to