//---------------------------------------------------------------------------------------------------------
// Update
//---------------------------------------------------------------------------------------------------------
folder2.setChildren(null);
ocm.update(folder2); // autoupdate = false for the children attribute. So no update on the children collection
ocm.save();
//---------------------------------------------------------------------------------------------------------
// Retrieve children attribute
//---------------------------------------------------------------------------------------------------------