[odb-users] Polymorphic id name not carried through to dervied table

Boris Kolpackov boris at codesynthesis.com
Sat Jun 8 09:26:51 EDT 2013


Hi Jordan,

Jordan J. Neuhart <jneuhart at tlirr.com> writes:

> I have a polymorphic class hierarchy and when I check the generated SQL
> files, I see that the column name that I specified for the id column of
> the base class is not the same as the name of the id column for the
> derived class.

Yes, that was an oversight. We should propagate the custom column name
to the derived classes.

I've fixed this and you can get the ODB compiler with this fix here:

http://www.codesynthesis.com/~boris/tmp/odb/odb-2.2.2-i686-windows.zip

Boris



More information about the odb-users mailing list