April 2020
Intermediate to advanced
1043 pages
16h 55m
English
The single table inheritance is the default JPA strategy. Conforming to this strategy, all the classes in an inheritance hierarchy are represented via a single table in the database.

Single table inheritance Domain Model
Between Author and Book there is a bidirectional lazy @OneToMany association. The Author entity can be seen as the root class, since without authors ...