No Image

Composite keys in JPA and Hibernate

25 4 月, 2019 steve@javasrc.com 0

Every JPA entity has a primary key, but some entities have more than one value as their primary key. In this case, you need to use a composite key. This Java tip introduces you to using composite keys in JPA and Hibernate.To read this article in full, …

No Image

Inheritance relationships in JPA and Hibernate

25 4 月, 2019 steve@javasrc.com 0

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.To read this article in full, please click here(Insider S…