JPA inheritance tecniques

This article discuses different techniques of JPA inheritance.

It explains: 1) Mapped superclass, 2) Table per class, 3)Single table, 4)Joined table.

It gives an example and a discussion about what technique is appropiate depending on the case.

Link:

https://thoughts-on-java.org/complete-guide-inheritance-strategies-jpa-hibernate/

Comments

Popular posts from this blog

Algorithms: Fibonacci numbers, recursive and Dynamic Programing solution (C/C++)

Algorithms: Backpack problem, Greedy , Dynamic Programming techniques (C++)

Top common mistakes of Java developers && Common mistakes in C++ (for Java developers)