Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

From which version on will Hibernate support JPA 2.2?

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.

like image 205
Sergiy Avatar asked Oct 26 '17 10:10

Sergiy


People also ask

Does Hibernate support JPA?

Additionally, Hibernate is a standard implementation of the JPA specification, with a few additional features that are specific to Hibernate.

What version of Hibernate supports Java 11?

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.

Which Hibernate version should I use?

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.

What is latest version of JPA?

Jakarta Persistence 3.0 The JPA was renamed as Jakarta Persistence in 2019 and version 3.0 was released in 2020.


2 Answers

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).

like image 67
Slaw Avatar answered Oct 17 '22 13:10

Slaw


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.

like image 4
MWiesner Avatar answered Oct 17 '22 12:10

MWiesner