Hibernate 6 Shared schema Multitenancy
Hibernate 6 introduced a new way to create multi-tenant applications. Apart of per-schema or per-database now it's possible to use a shared schema.

Search for a command to run...
Articles tagged with #databases
Hibernate 6 introduced a new way to create multi-tenant applications. Apart of per-schema or per-database now it's possible to use a shared schema.

The Open Session in View pattern can lead to performance issues and surprising errors in Spring Boot. Maybe you want disable it.

Learn how to log SQL queries in Hibernate to identify performance issues in the data access layer.

To work efficiently with Spring, JPA and Hibernate one needs to understand how this technologies work together. I try to explain it in this article.

@OneToMany is one of the most often used annotations in #JPA. Whenever a Parent Entity can have multiple Childs we use a Collection with the @OneToMany annotation. import javax.persistence.*; import java.util.HashSet; import java.util.Set; import org...

Pure Many-To-Many relationships rarely exist, thus it's worth to think about it when designing JPA Entities.
