Class Table Inheritance Pattern
This pattern belongs to Object-Relational Structural Patterns Catalog and this Catalog belongs to Patterns of Enterprise Application Architecture . Intent Represents an inheritance hierarchy of classes with one table for each class. Class Table Inheritance supports one database table per class in the inheritance structure. Explanation Please note in the diagram, each class have their own database table. Player class have its own players database table. Cricketer class have its own cricketers database table. Footballer class have its own footballers database table. Bowler class has its own bowlers database table. How It Works The straightforward thing about Class Table Inheritance is that it has one table per class in the domain model. The fields in the domain class map directly to fields in the corresponding tables. As with the other inheritance mappings the fundamental approach of Inheritance Mappers (302) applies. The biggest impleme...