Resolution: Won't Fix
Affects Version/s: 1.1 [LEGACY]
Fix Version/s: None
Component/s: Core Library
Cayenne Modeler 1.1RC1 (October 3 2004)
Objects are connected with relations per ID, deletion should be per cascade.
Object1 has more than one involved related Objects2-9
over more than one step to bottom
which should all be deleted
only by DataContext.deleteObject(Object1) per cascade.
If a Object5, stands 2 steps under Object1 has a invalid ID, so will an Exception be thrown from CayenneDataObject.resolveFault().
The result is, that the upper Object1 is deleted, but after Exception the rest of related Objects, don't be deleted per cascade, they are garbage in the database.