Details
Description
In BasePeer.doDelete, all datasets which should be deleted are loaded. This introduces significant overhead, but is only necessary for cascading deletes.
For non-cascading deletes, the datasets should not be loaded, but a "delete from ..." statement should be issued instead.