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

Jordan J. Neuhart jneuhart at tlirr.com
Mon Jun 10 12:26:52 EDT 2013


Thanks Boris.  

Jordan

-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: Saturday, June 08, 2013 8:27 AM
To: Jordan J. Neuhart
Cc: odb-users at codesynthesis.com
Subject: Re: [odb-users] Polymorphic id name not carried through to
dervied table

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