Table Per Subclass with XML

In Table Per Concrete class with xml we have seen how to implement Inheritance in Hibernate using Table per concrete class In this article, we will learn the same using most efficient strategy called “Table per Subclass”. Let us understand about Table Per Subclass with XML In this strategy, each subclass table will have the […]

Share this article on

Table per subclass with annotation

In previous article we saw Table per Subclass using XML In this article, we will learn the same using Annotation. Let us understand about Table Per Subclass with Annotation In this strategy, each subclass table will have the subclass specific attributes only. Parent class attributes will be stored in Parent class table. Subclass tables will […]

Share this article on
< Previous Next >