post your repository_user.xml do you have auto-delete=true and auto-update= true on your collection-descriptor?
-----Original Message----- From: Jack Collins [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 11:29 AM To: [EMAIL PROTECTED] Subject: Changing contents of a 1:n Collection Doesn't Seem to Work I have an object that has a collection as one of its properties. I can create the object, add members to the collection and save it with no problem. If I check the contents of the database I see the parent object and all of its children. If I retrieve that same object and remove one of the child objects in the collection and save the parent again, the changes to the collection are not reflected in the database. It seems like OJB is only capable of adding to the contents of a collection but not removing them. When I turned on the logging of the SqlGeneratorDefaultImpl I can see insert and update statements, but never a delete statement to handle the removal of the child from the collection. I am using RC3 and have tried using a few different cache implementations (ObjectCachePerBrokerImpl, ObjectCacheDefaultImpl, ObjectCacheEmptyImpl) but always get the same result. What am I missing? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
