Hibernate Tutorial : How to map the sub classes in the hibernate mapping file

Опубликовано: 27 Ноябрь 2012
на канале: VNR Groups
7,694
20

The code is available here - http://www.vnrgroups.com/articles/jav...
In the first part of the tutorial I have explained in detail about how to map multiple classes to multiple tables.

Then in the second part of the tutorial I have explained in detail about the use of discriminator column and the discriminator value by giving self explanatory example.

The tutorial also cover's the concept of the use of the subclass and how to map the subclasses in the hibernate mapping file.

The example also cover the Table per class scenario that is we have One Table for class and its sub classes

Credit @ Mohammed Sameeruddin

For More Video Tutorials Visit : http://www.VNRgroups.com
Another Channel :    / vnrgroups  
Facebook Page :   / vnrgroups