I have an application that loads objects through sleep mode and then transfers these objects to another level as separate objects. Any changes to these objects are sent back to the hibernation level, where I invoke saveOrUpdate()these objects.
Will hibernate delete one-to-many child objects contained in the collection in the objects that are passed in saveOrUpdate()if I just delete the child from the collection before the call saveOrUpdate()?
If not, how is this usually done in a sleep application that uses separate objects?
source
share