Huh? 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Bauer
Sent: Sunday, November 20, 2005 12:58 PM
To: Hibernate development
Subject: Re: [Hibernate] Flush behavior


On Nov 20, 2005, at 6:48 PM, Gavin King wrote:

> Hibernate cascades the saveOrUpdate() operation, EJB3 cascades the
> persist() operation.
>
> They should and are quite different.

But why are persist (and possibly merge) only cascaded at call time and
not at flush time, if I use the Session API? I think no other operation
has that behavior and if I read the spec correctly, it also doesn't
happen in EJB3. 


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam for All
Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to