On Nov 21, 2005, at 2:46 PM, Christian Bauer wrote:

Why?

Ok, so I'm trying to come up with a paragraph that explains this for the documentation:

Note that if you use cascade="persist", Hibernate will only cascade the persistent state to associated entities reachable at call time. If more transient entities are associated with already persistent instances, they will not become persistent, unless you also use the save-update option, cascade="persist, save-update". Hibernate then cascades the persistent state at flush time to all reachable entity instances, if save-update is enabled for an association.

Correct?



-------------------------------------------------------
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

Reply via email to