[Opensource] deleteAll() bug: deleting detail records
larry hamel
expresso at codeguild.com
Wed Jul 16 19:07:13 PDT 2003
hi,
DBObject.deleteAll() fails to delete detail records. If your database is set to Cascade deletes, or the leftover records bothered no one, then you may not have noticed this. Anyway, the fix is to iterate through all the records, calling the normal delete(), which will pay attention to any addDetails() that you have defined.
I plan to check this in shortly. Let me know if I've missed something.
Larry
More information about the Opensource
mailing list