As Java EE 8 including JPA 2.2 was released this summer it's good to know when Hibernate will support it. Hibernate 5.2 is mentioned to support JPA 2.1. Hibernate 6.0 roadmap doesn't have any references to JPA 2.2 support.
Thanks.
Additionally, Hibernate is a standard implementation of the JPA specification, with a few additional features that are specific to Hibernate.
Hibernate with JDK 11 Hibernate 5.3. 6 is compatible with both Java 8 and Java 11, but developers have found a few quirks in the version compatible with JDK 11.
Use Spring's latest stable version (4.0. 5 at the moment, as clearly indicated on the home page), and Hibernate's latest stable version (4.3. 5.
Jakarta Persistence 3.0 The JPA was renamed as Jakarta Persistence in 2019 and version 3.0 was released in 2020.
I know this is an old(ish) question, but according to their website the 5.3 "series" will support JPA 2.2. However, as of the posting of this answer it seems the 5.2 series is still the latest stable release.
Update (June 8, 2018)
As helpfully mentioned by MWiesner in his answer, the Hibernate 5.3 series has been released and supports JPA 2.2. It was released on May 14, 2018 and version 5.3.1 has already been released as well (on May 28, 2018).
With the recent Hibernate release of version 5.3 in May 2018, JPA 2.2 is now fully supported:
Hibernate 5.3 adds support for the JPA 2.2 specification
For reference, find further details in the official Hibernate ORM 5.3 migration guide.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With