Further to this, is it possible for a three level hierarchy:
Code:
BaseClass
--> SomeClass
---> DerivedClassTypeA
---> DerivedClassTypeB
to use a mix of subclass methods?
For example, if the table storing BaseClass has the type parameter that determines the type of DerivedClassTypeX but SomeClass involves a join to another table?
E.g.
Code:
<class BaseClass>
<discriminator column="type">
<joined-subclass name="SomeClass">
<subclass name="DerivedClassTypeA" discriminator-value="1"/>
<subclass name="DerivedClassTypeB" discriminator-value="2"/>
</joined-subclass>
</class>
I guess this could get confusing, but it doesn't seem that weird.
Steve