Hi rjtt64,
yes, you can mix inheritance strategies but, I'm afraid, not within one level. Your BaseType will define the strategy and this will be the one for its sub-classes. I guess, you will be able to reduce the number of tables down to three: one for the BaseType, one for PersonType and LocationType, and one for CourseType. Since your BaseType table is likely to contain at least the shared identifier column and the discriminator column, Hibernate will always join the BaseType table if you query one of its sub-classes.
But let me know if you find an alternative way.
CU Froestel
_________________ Have you tried turning it off and on again? [Roy]
|