Table Per Hierarchy with XML
- 11th Feb 2017
- 0
- 7002
- advantage of using Table per hierarchy Disadvantage of table per hierarchy how table per hierarchy works in hibernate how to use hibernate table per hierarchy how to use table per hierarchy of hibernate Table per hierarchy in hibernate table per hierarchy in hibernate with xml Table per hierarchy with example in Hibernate
Let us understand about Table Per Hierarchy with XML In this approach, as the name suggests the entire hierarchy is mapped to a single table. I.e. All attributes of all the classes in the hierarchy are stored in a single table. A discriminator column is used to distinguish different classes. Null values will be stored […]