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 #jpa
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.

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.

Starting with Hibernate 6.2 it is now possible to order columns in tables generated by Hibernate. The new concept is called ColumnOrderingStrategy.
