[odb-users] Debugging FOREIGN KEY

Boris Kolpackov boris at codesynthesis.com
Mon Aug 31 08:19:52 EDT 2015

Hi Andrew,

Andrew Cunningham <andrew at a-cunningham.com> writes:

> This works great except there is a an annoying little issue. If you try to
> persist an object, when a related object is not persistent you get a
> " object_already_persistent" exception. I think the exception should be a
> "object_not_persistent" exception if possible....

This is an SQLite limitation. See Section, 18.5.4 "Constraint Violations"
for details.


More information about the odb-users mailing list