Tags
Authors
We are pleased to announce the release of Hibernate Validator 9.0.0.Final.
Compared to Hibernate Validator 8.0 this series is the implementation of the Jakarta Validation 3.1 and targets Jakarta EE 11.
It also introduces new constraints,
removes the integration of the Security Manager,
provides the BOM for simpler dependency management,
removes a few constraints, configuration properties and APIs,
which have been deprecated for several major versions
and stops publishing relocation POMs for the old org.hibernate
group id.
There are also a few other improvements, bug fixes and dependency updates.
Today—or rather, late last night—we released Hibernate ORM 7, which includes the latest version of Hibernate Data Repositories. We’ve also released Hibernate Validator 9.
-
Hibernate ORM 7 features a complete implementation of Jakarta Persistence 3.2 and of Jakarta Data 1.0.
-
Hibernate Validator 9 implements Jakarta Validation 3.1.
This is the first production-ready version of our platform available entirely under the Apache Software License. (Yes, that includes Envers!) And it’s the first version of our platform to fully support Jakarta EE 11.
Compared to the massive reengineering effort that went into Hibernate 6, this release is much more incremental, and most users should experience a smoother migration. But, as befits a major release, we’ve removed some deprecated functionality. So let’s get the bad news out of the way first.
Hibernate 7.0.0.Final
Hibernate ORM 7.0 Final 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.0.0
Hibernate 7.0.0.CR2
A second CR for Hibernate ORM 7.0 has just been released. We cleaned up a few APIs and made some improvements to incubating contracts.
Details about the release, as well as links to important resources, can be found at https://github.com/hibernate/hibernate-orm/releases/tag/7.0.0.CR2
Hibernate Reactive 3.0.0.CR2 and Hibernate Reactive 2.4.8.Final are now available!
They upgrades respectively Hibernate ORM to 7.0.0.CR2 and 6.6.15.Final.
The full list of changes for Hibernate Reactive 3.0.0.CR2 and Hibernate Reactive 2.4.8.Final is available on GitHub.
We just published Hibernate Search 8.0.0.Beta1, the first beta release of the next major version of Hibernate Search.
This version includes the first implementation of the type-safe field references and Hibernate Search’s static metamodel, compatibility with the latest versions of Elasticsearch 9.0 and OpenSearch 3.0, and other small adjustments and dependency upgrades.
Hibernate 7.0.0.CR1
A first (and hopefully last, obviously) CR for Hibernate ORM 7.0 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.0.0.CR1
Hibernate Reactive 3.0.0.Beta3 and Hibernate Reactive 2.4.6.Final are now available!
Hibernate Reactive 3.0.0.Beta3 is compatible with Hibernate ORM 7.0.0.Beta5, and upgrades the Vert.x SQL client to 4.5.14.
Here’s some of the most interesting changes in the release:
[ ... ]
The JPQL select new
syntax originated in the earliest days of Hibernate, providing a way to package a query projection list into a Java object.
This was before Java had generics or record types, so you would use it like this:
Several people have recently asked me how to do "specifications" in Hibernate or in Jakarta Data. I believe this idea comes from Spring Data, where a repository method may be passed a function that applies programmatic restrictions to the query result via the JPA Criteria API.