Hibernate

adplus-dvertising
Table Per Class
Previous Home Next

In this approach one table for each class of the family is created. Each table contains fields to represents declared as well as inherited data member of the class.

Advantages

  • Tables are fully normalized.
  • Not null constraint cn be applied on all the table of fields.
  • Better performance.

Disadvantages

  • Relation of object is losses in the table.
  • This approach s not supported in the all ORM framework.
Previous Home Next