Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
Merging entities is fairly easy since you can use the
merge provided by the
EntityManager or the Hibernate
Session. However, merging collections requires more consideration, as explained by
If you are using Kotlin and want to use JPA and Hibernate for you data access layer,
explains how to implement the
This article shows you how to use a custom Hibernate naming strategy when using Spring Boot.
Every entity query, be it JPQL or Criteria API, needs to be parsed and compiled to an AST (Abstract Syntax Tree) in order to generate the associated SQL query. The entity query compilation takes time, as explained in
so Hibernate provides a
QueryPlanCache to store already-compiled plans.
Starting with Hibernate 5.4, the Hibernate
Statistics object allows you to monitor the Query Plan Cache, and
shows you how to take advantage of this feature to speed up IN query performance.