- Oct 1, 2015
- Java Persistence API (JPA) Tutorials
In our previous articles we have seen, one to one, many to one and many to many mappings, in this article we will see how to map a inheritance class structures with JPA. There are three major strategies for doing this.
1) Table per hierarchy
2) Table per concrete class
3) Table per subclass