[odb-users] Bug With Polymorphism Inheritance
Tolga HOŞGÖR
fasdfasdas at gmail.com
Tue May 5 10:36:03 EDT 2015
Hello all,
I think there is a bug with polymorphism inheritance. Consider the
following:
#pragma db object table("base")
class Base {
};
#pragma db object table("derived")
class Derived
: public Base {
};
Now, the generated SQL uses LEFT JOIN "Base"."member" which obviously
results in error. Is there a way I can specify the Base table in the Drived
class declaration?
Thanks,
Tolga.
More information about the odb-users
mailing list