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
Watch video Hibernate Tutorial : How to map the sub classes in the hibernate mapping file online without registration, duration hours minute second in high quality. This video was added by user VNR Groups 27 November 2012, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,694 once and liked it 20 people.