Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Won't Fix
-
1.1 [LEGACY]
-
None
-
None
-
mySQL 4.0.12
Cayenne Modeler 1.1RC1 (October 3 2004)
Java 1.4.2
Description
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.
Kind regards
Katrin