[odb-users] Exception : "object not persistent" when trying to load object which does not exist in database

Boris Kolpackov boris at codesynthesis.com
Thu Nov 12 10:56:05 EST 2015


Hi Florent,

Florent GRATTA <gratta at visuol.com> writes:

> I have also the "Object not persistent" exception when I try to load
> an object that is in database but with a null value in relation
> column (null value is allowed in db, but odn thourght the exception)

But is NULL value allowed in ODB? In other words, do you have 
'#pragma db null' for the data member corresponding to the
relation column? Maybe that's what causes the exception to be
thourght?

Boris



More information about the odb-users mailing list