Articles, Home

Persist extra attributes for relationships with JPA & Hibernate

JPA and Hibernate allow you to define relationships between entities with just a few annotations, and you don’t have to care about the underlying table model in the database. Even join tables for many-to-many relationships are hidden behind a @JoinTable annotation, and you don’t need to model the additional table as an entity. That changes […]

Articles, Home

Java Weekly, Issue 379

Pattern matching meets switch expressions, working with lazy relationships, Spring Boot for serverless, the road to Kotlin 1.5 and Java 17, and tips for working from home!