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

One to One XML Mapping in Hibernate

Let us understand about One to One XML Mapping in Hibernate In this relation mapping, one object of a class is associated with only one object of another class. In other words, One record of a table is associated with only one record of another table. In this mapping, both the tables will share the […]

Share this article on
< Previous Next >