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

Davide Anastasia Davide.Anastasia at qualitycapital.com
Wed Apr 25 11:23:55 EDT 2012

Hi Boris,
Thanks a lot.
We are currently using the 1.9.0.a1: does this version support already
this feature?


-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com] 
Sent: 25 April 2012 16:26
To: Davide Anastasia
Cc: odb-users at codesynthesis.com
Subject: Re: [odb-users] one-many relationship with abstract class

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.


More information about the odb-users mailing list