Hi,

I'm trying to delete objects from a collection, it seems to workin the code, but when I look in the database the object is still there.

This is what I do:

First I add en element to the collection and save all the objects, by putting a lock on ALL.
At this point the application and the database are the same


Then i reload the main object and remove the object (the same that I added before) from the collection
and save all objects, that is I save the main object with an empty collection.
when I reload the data at this point the data seems to be saved in the application, but when i look in the database
the data I deleted is still there, including the reference to my collection.


I use auto-retrieve="true" auto-update="true" auto-delete="true"

What am i doing wrong?


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to