[odb-users] Debugging "FOREIGN KEY constraint failed"

Andrew Cunningham andrew at a-cunningham.com
Thu Aug 20 00:02:15 EDT 2015


I am getting the "FOREIGN KEY constraint failed" exception on commit
(SQLite).
Clearly I have not 'persisted' a child object somewhere, but the exception
gives no information.
I have a large number of object types, so this is pretty tricky to find.
What are the debugging tips for finding my error.


More information about the odb-users mailing list