[odb-users] Debugging FOREIGN KEY
boris at codesynthesis.com
Mon Aug 31 08:19:52 EDT 2015
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"
More information about the odb-users