When you remove an item from an association property, if you want to delete that object you do have to call deleteItem explicitly. Currently removing the object from the association property will only send an "update" change to the parent object. It won't delete the child object.
Many O/R systems have a cascade="delete" attribute on the association which lets you do the "delete" automatically when the child becomes disassociated but we haven't implemented this feature in LC DS yet. This is independent of autoCommit... even if you set autoCommi=true, you'll still need to do the deleteItem explicitly. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shigeru Nakagaki Sent: Monday, August 25, 2008 9:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] the commit method of LCDS doesn't commit deleted child object. Is this normal? When autoCommit is false, the commit method of LCDS doesn't commit deleted child object (hierarchical destination, many-to-one). If the case is adding child object, the commit method creates new child object. Is this normal? Do we have to delete child object manually if autoCommit is false?
<<inline: image001.jpg>>
<<inline: image002.jpg>>