Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Upgrade to spring-boot 2.1.x with hibernate 5.3 and JPA 2.2 #667

Open
hohwille opened this issue Aug 10, 2018 · 0 comments
Open

Upgrade to spring-boot 2.1.x with hibernate 5.3 and JPA 2.2 #667

hohwille opened this issue Aug 10, 2018 · 0 comments

Comments

@hohwille
Copy link
Member

Hibernate 5.3 is already out since a while and fully supports JPA 2.2:
https://www.thoughts-on-java.org/hibernate-5-3/
We should therefore use the official JPA 2.2 by replacing

      <dependency>
        <groupId>org.hibernate.javax.persistence</groupId>
        <artifactId>hibernate-jpa-2.1-api</artifactId>
        <version>1.0.0.Final</version>
      </dependency>

with

      <dependency>
        <groupId>javax.persistence</groupId>
        <artifactId>javax.persistence-api</artifactId>
        <version>2.2</version>
      </dependency>

To do so we also need to upgrade to hibernate 5.3 what will come with spring-boot 2.1.0:
spring-projects/spring-boot#11725
But currently not even the milestone 2.1.0.M1 is in maven central.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant