Item 138: How to Efficiently Use Single Table Inheritance
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.
Between Author and Book there is a bidirectional lazy @OneToMany association. The Author entity can be seen as the root class, since without authors ...