Tags
Authors
In our previous post,
we showed how @Mutability(Immutability.class) and removing CascadeType.MERGE cut our JSON processing time in half by eliminating unnecessary dirty-checking.
That was the first round of optimization. This post covers the second round enabling Hibernate’s second-level cache on the same entity, and the surprising
discovery that three annotations must work together to unlock the full benefit. Getting two out of three still left us over 8x slower than the final result.
Hibernate 8.0.0.Beta1
ORM 8.0.0.Beta1 has just been released -
-
Implements support for Jakarta Persistence 4.0 - all features defined through the M5 release are supported and both the Jakarta Persistence and Jakarta Data TCKs are passing
-
Graph-based flushing
-
Row-level secuity with discriminator multi-tenancy
-
Flush-time bidirectionality management
-
Much more
Details about the release can be found at https://github.com/hibernate/hibernate-orm/releases/tag/8.0.0.Beta1.
When we profiled our application’s data import pipeline, we expected the bottleneck to be in our business logic — JQ filters, JavaScript evaluation, recursive SQL queries. Instead, Hibernate’s internal JSON handling consumed over 50% of CPU time and allocated 20 GB of unnecessary objects during a routine import of 5 records.
Two small annotation changes fixed it. No code changes, no architectural redesign — just telling Hibernate what it needs to know about how our application uses its data.
Hibernate 7.4.0.Final
Hibernate ORM 7.4 Final has been released.
Details about the release, as well as links to important resources, can be found at https://github.com/hibernate/hibernate-orm/releases/tag/7.4.0.
Some of the new features include -
We are happy to announce that, starting with the upcoming releases of Hibernate ORM 7.4, the core modules of Hibernate Tools will be integrated directly into the Hibernate ORM repository.
In this post we will cover the motivation behind the move, what it means for your build files, what happens to the Eclipse tooling, and how to get started with the new coordinates.
Hibernate 7.3.0.Final
Hibernate ORM 7.3 Final was released a few weeks ago and today 7.3.1 will be released.
Details about the release, as well as links to important resources, can be found at https://github.com/hibernate/hibernate-orm/releases/tag/7.3.0.
Some of the new features include -
Hibernate 7.3.0.CR2
Another release candidate version for Hibernate ORM 7.3 has just been released: 7.3.0.CR2.
Details about the release, as well as links to important resources, can be found at https://github.com/hibernate/hibernate-orm/releases/tag/7.3.0.CR2
Hibernate 8.0.0.Alpha1
A first Alpha of ORM 8.0 has just been released implementing support for JPA 4.0 (as of its first milestone).
The vast majority of things are implemented, but a few still remain (default fetch type for to-one associations and @ExcludedFromVersioning, e.g.).
Details about the release can be found at https://github.com/hibernate/hibernate-orm/releases/tag/8.0.0.Alpha1.
Details about JPA 4.0 can be found at https://in.relation.to/2026/01/20/JPA-4-M1/.
Hibernate 7.3.0.CR1
A first CR for Hibernate ORM 7.3 has just been released.
Details about the release, as well as links to important resources, can be found at https://github.com/hibernate/hibernate-orm/releases/tag/7.3.0.CR1