Like it or not, data is an integral part of any application, even cool object-oriented ones. Everything stops at the persistence layer, where Java developers traditionally have had to write complex ...
Inheritance is a common pattern in object-oriented programming, but it’s not easily replicated in a database. This Java tip shows you how to model inheritance relationships in JPA with Hibernate.