Here is a more detailed answer. A case when a criteria for a subclass / superclass is based on a presence of a given relationship is better addressed with vertical inheritance - something we'll be adding in 3.0. Single table inheritance mapping requires a criteria based on one or more columns of the root table.

Andrus


On Aug 6, 2008, at 3:00 PM, Andrus Adamchik wrote:


On Aug 6, 2008, at 2:54 PM, Dave Dombrosky wrote:

Do I have to add another column just to hold the type like the
documentation example shows?  Not the best solution in this case, but
I guess it can be done if need be.

That would certainly work.

Andrus



Reply via email to