Hello,
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
> I have an object A that have a collection reference to a list
> of objects B.
>
> Is anyone that could help me to understand how can I update
> the collection reference of the object A?
It should be updated automatically when you update A.
Besides, you might have to update the respective objects,
you have added/removed.
> My problem is that the objects B I remove from the list of
> objects B are not deleted in the database when I update the object A.
Why would you expect that to happen? When you wish to delete an
item b from the database, you have to explicitly delete it with the
suitable API call, e.g.
broker.delete(x); // PersistenceBroker
or
database.deletePersistent(x); // ODMG
HTH,
Olli
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]