Tags
Authors
You asked for it, we deliver: Hibernate Search 5.7.0.Final, with support for Hibernate ORM 5.2.8, is out! And of course, like previous versions, it features experimental support for Elasticsearch integration (even with some improvements).
Stuck on an older ORM version? Don’t worry, we also released a bugfix version for 5.6, namely 5.6.1.Final.
[ ... ]
This time Emmanuel and Andrew sits down with Gunnar to talk about Beans Validation 2.0.
Episode 43 - Show notes and podcast.
Enjoy!
Starting with Hibernate ORM 5.2.8, MariaDB gets its own Hibernate dialects.
Welcome to the Hibernate community newsletter in which we share blog posts, forum, and StackOverflow questions that are especially relevant to our users.
The Eighth bug-fix release for Hibernate ORM 5.2 has just been published. It is tagged at https://github.com/hibernate/hibernate-orm/releases/tag/5.2.8
The complete list of changes can be found here (or here for people without a Hibernate Jira account).
For information on consuming the release via your favorite dependency-management-capable build tool, see https://hibernate.org/orm/downloads/
MariaDB Dialects
Starting with Hibernate ORM 5.2.8, MariaDB gets its own Hibernate dialects.
It is not every day that we announce the first release of a new major version of Hibernate Validator. And today is one of those days: the first alpha of Hibernate Validator 6 has just been released.
Hibernate Validator 6 is going to be the Reference Implementation of Bean Validation 2.0. That’s why we coordinated the releases of the first alphas of these two projects.
It is also a playground used to validate future enhancements of the Bean Validation specification so feedback on the subjects presented here is very welcome!
Note that Hibernate Validator 6 requires JDK 8 or above.
Recently, the team has been discussing improvements around Hibernate (ORM) usage within cloud based apps and microservices. In particular the fundamental assumption that things will break regularly on these platforms and that services should be resilient to failures.
Good news!
The first candidate release for Hibernate OGM 5.1 is out.
Compared to 5.1 Beta3, this release upgrades Hibernate Search to version 5.5.6.Final and supports MongoDB aggregate operation in native queries.
You can find all the details in the 5.1.0.CR1 changelog.
If you need to upgrade from a version before 5.0, you can find help on the migration notes.
Java 9 comes with a new feature very useful to library authors: multi-release JARs (JEP 238).
A multi-release JAR (MR JAR) may contain multiple variants of one and the same class, each targeting a specific Java version. At runtime, the right variant of the class will be loaded automatically, depending on the Java version being used.
This allows library authors to take advantage of new Java versions early on, while keeping compatibility with older versions at the same time.
If for instance your library performs atomic compare-and-set operations on variables, you may currently be doing so using the sun.misc.Unsafe
class.
As Unsafe
has never been meant for usage outside the JDK itself,
Java 9 comes with a supported alternative for CAS logics in form of var handles.
By providing your library as an MR JAR, you can benefit from var handles when running on Java 9 while sticking to Unsafe
when running on older platforms.
In the following we’ll discuss how to create an MR JAR using Apache Maven.