Inheritance « JPA « Java






1.Map Hierarchical Data
2.Single Table Inheritance
3.Using Mapped Super class
4.Set Inheritance And discriminator Column
5.Set Discriminator Value
6.Set Discriminator Column: Discriminator Type INTEGER
7.Map One POJO To Multiple Tables
8.Map Each Class In Hierarchy To Its Own Table
9.Many To One Mapping In Mapped Super class








10.Lifecycle CallBack Exclude Superclass Listeners
11.Lifecycle CallBack: Add Listener To Subclass
12.Inheritance Type TABLE_PER_CLASS
13.Inheritance Type JOINED
14.Change Inheritance Type In Hierarchy