Seems i mixed up advice from multiple blogs, since i had added the on- delete="cascade" to fix a previous issue, before adding the cascade="all-delete-orphan". Removed it and my tests pass.
Thanks! arne On Jul 10, 2009, at 5:20 AM, Graham Bunce wrote: > > on-delete="cascade" means "let the database do the deletion". > > You would use it for performance reasons where you can rely on > referential integrity or triggers to do the delete for you. From > memory (which is a little hazy) SQLite doesn't have RI so unless you > can implement triggers as an alternative, the option you've chosen > will result in nothing taking place against the DB. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
