[odb-users] Bi-directional mapping to Abstract class

Boris Kolpackov boris at codesynthesis.com
Mon Aug 15 08:48:42 EDT 2011


Hi,

Bright Dadson <losintikfos at yahoo.co.uk> writes:

> My problem is, when I try to map to Account, I get the error `Account is 
> Abstract`. I want to be able to map to the abstract instead of mappping 
> to each child inherited class - I think doing it this way will remove 
> the verbosity of the mapping code across inherited classes.

What you are looking for (I think) is polymorphism inheritance which
is not yet supported by ODB. See Chapter 8 in the ODB manual for details.

Boris



More information about the odb-users mailing list