views:

92

answers:

0

In PeAA, Fowler describes the three different patterns to use when mapping an inheritance hierarchy to a DB.

  • Single table inheritance
  • Class table inheritance
  • Concrete table inheritance

I understand the three patterns as described.

It is also mentioned that these patterns can be combined for different levels of a hierarchy, for example Class table inheritance for the top level, multiple times concrete table inheritance for the lower level classes.

I'm looking for an example of such a combination, since I can't seem to get my mind around this completely.