[odb-users] Load old DB after adding new class data member

Boris Kolpackov boris at codesynthesis.com
Tue Jan 5 08:21:59 EST 2021


Justin Huang <yohuang at nvidia.com> writes:

> I added a new boolean data member (with default value false) for a class,
> but I want to load a DB generated before adding this new data member.  I
> got '1: no such column' error when I tried to load old DB after updating
> the class.
> 
> Is there a way that ODB can load this old db?

I think the soft object model changes support should allow you to
achieve this, see "Soft Object Model Changes" for details:

https://codesynthesis.com/products/odb/doc/manual.xhtml#13.4



More information about the odb-users mailing list