Ed Leafe wrote: > On Feb 28, 2007, at 7:55 AM, Uwe Grauer wrote: > >> When i call myForm.delete() on a record of my parentbizobj >> the childs don't get deleted. >> How is the referential integrity stuff in bizobj supposed to work? >> Or how is this best done? > > The default for the bizobj class is for self.deleteChildLogic = > k.REFINTEG_CASCADE, where 'k' is dabo.dConstants. So the children > should indeed be getting delete calls. > > Can you verify the value of biz.deleteChildLogic? Should be 3, which > is the value of the constant. > > If that's correct, what about placing some print statements in the > bizobj.delete() method to see what's going on there. > > -- Ed Leafe
Found a bug! dBizobj first tries to delete the parent before it will delete the child. Can't work, as i do have referential integrity in my database. Uwe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
