Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What are the types of mapping class inheritance in Hibernate?
There are three different approaches to representing an inheritance hierarchy:
  * Table per concrete class: Discard polymorphism and Inheritance relationships completely from the relational model.
  * Table per class hierarchy: Enable polymorphism by denormalizing the relational model and using a type discriminator column to hold type information.
  * Table per sublcass: Represent "is a" (Inheritance) relationships as "has a" (foreign key) relationships.