-
Notifications
You must be signed in to change notification settings - Fork 87
Upgrade to spring-boot 2.1.x with hibernate 5.3 and JPA 2.2 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
SpringBoot 2.1 is release since a while and it comes with Java 11 support. |
I also think we should go evergreen JVM and give support to older JVMs as exceptional cases. |
Nicely, SpringBoot 2.1 did not remove support for Java8, so we finally could and should have support for Java LTS versions. |
I just did it for my project, which seems to work smoothlessly. So possibly low effort for devonfw. |
It would be lovely if we also add a migration step for devcon. Ideally from devon4j:3.0.0 to 3.0.1 (with only the version update) and from there to 3.1.0 containing all required changes we might see for this upgrade here. |
* Removed javax.persistence:javax.persistence-api dependency from devon4j-bom
Done. |
I just tested these changes and found a severe issue:
This really sucks and feels like piracy. We need to consider how we want to proceed. |
I recognized this as well, anyhow for my project it was not an issue as we are running oracle 12. |
However, we might consider releasing a devon4j |
BTW: we have inconsistent statements regarding flyway 5.x. |
We are talking about the latest flyway version 5.4.2 that comes with the new spring boot: For such flyway version the OSS edition has dropped support for Oracle 11 and 12.1. |
spring-boot needs to be updated to Please create PR, then we merge and close this issue. Thanks. |
Finally at latest version with PR #111 threfore done. |
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
with
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.
The text was updated successfully, but these errors were encountered: