Yes! I was expecting something like this.
1. The sample code worked
! Thank you, Reehan! However, the existing data from the table (dbo.Disc) was deleted. Why? I used
<property name="hibernate.hbm2ddl.auto">update</property> for schema generation.
2. I guess, the inheritance strategy used in the given example is Table-per-ClassHierarchy(<subclass>). So there should be a new table for each new hierarchy of subclasses extended from parent-class/sub-class. Please correct; if wrong and quote towards it with any relavent example!
Thank you once again for your patience, Reehan!
Warm regards