Why don't you add it to the Wiki, amd then we can work it into the docs
somewhere, if it fits.




|---------+------------------------------------------->
|         |           Mark Woon                       |
|         |           <[EMAIL PROTECTED]>   |
|         |           Sent by:                        |
|         |           [EMAIL PROTECTED]|
|         |           ceforge.net                     |
|         |                                           |
|         |                                           |
|         |           15/08/03 08:30 AM               |
|         |                                           |
|---------+------------------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       [EMAIL PROTECTED]                                                  
                                  |
  |       cc:       Hibernate Mailing List <[EMAIL PROTECTED]>, [EMAIL PROTECTED]  |
  |       Subject:  Re: [Hibernate] Precedence for Lifecycle and Interceptor?          
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




[EMAIL PROTECTED] wrote:
      Why not just look in the source of SessionImpl?

Good point.  Didn't know where to look.

For those who are interested, the order is:

Save or Update:
 - Interceptor.isUnsaved

Save:
 - Lifecycle.onSave
 - Interceptor.onSave

Update:
 - Lifecycle.onUpdate

Load:
 - Interceptor.onLoad
 - Lifecycle.onLoad

Delete:
 - Interceptor.onDelete
 - Lifecycle.onDelete

Flush:
 - Interceptor.preFlush
 - Interceptor.findDirty
 - Interceptor.onFluchDirty
 - Interceptor.postFlush

Perhaps this should be added to the docs somewhere?

-Mark




**********************************************************************
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.

This email, including all attachments, is confidential.  If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments.  Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error.  If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**********************************************************************






-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to