2009/6/28 V <[email protected]>

> In my question I wanted to know was if I attach a parent to session
> and save it, will it take care of updating child objects also by
> attaching them to session and issuing proper statements for insert/
> update/delete?
>

Yes but, as I said in the second answer, the final behaviour (of what NH
will do) depend on the type of the collection (an <set> will have a
different behaviour of a <bag>).
-- 
Fabio Maulo

P.S. I'm assuming you know about the attribute "cascade" in the mapping.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to