[odb-users] ODB polymorphic inheritence problem
Boris Kolpackov
boris at codesynthesis.com
Mon Apr 1 11:35:00 EDT 2013
Hi Alexander,
Alexander Konin <aakmail at mail.ru> writes:
> The problem is that ODB generates incorrect SQL instructions for loading
> Segment::segments_:
>
> [...]
>
> "parent" field is contained in "Items" table (we have Item::parent_),
> not "Segments" table!
Yes, that's a bug, thanks for reporting it! I've committed a fix and
the patch is available here:
http://scm.codesynthesis.com/?p=odb/odb.git;a=patch;h=62886c67aa1088a5e26b885bb0f44c0e02e0975d
Will you be able to apply it and build the ODB compiler from source?
Boris
More information about the odb-users
mailing list