[odb-users] one-many relationship with abstract class

Boris Kolpackov boris at codesynthesis.com
Wed Apr 25 11:26:06 EDT 2012


Hi Davide,

Davide Anastasia <Davide.Anastasia at qualitycapital.com> writes:

> I would like to realize a one-many relationship between and abstract
> class and another class (non abstract).
> 
> Inherited classes from the abstract class are already defined, but I
> would love to have the primary key as member of the abstract class and
> see the inherited as pure extension of the base-abstract class.
> 
> Is this possible somehow?

It will be with polymorphism support. The next version of ODB which
adds this support should be out any day now.

Boris



More information about the odb-users mailing list