Skip to content

Conversation

@Leander-Wendt
Copy link

Closes #24

I updated hibernate to 7.0.11.Final and changed the function calls to "createSQLQuery()" to "createNativeQuery()" which is inherited by the Jakarta Persistence API.

I've had difficulties loading the dependencies of the adapter. Especially with the plugins 'org.apache.maven.plugins:maven-deploy-plugin:3.1.2' and 'org.apache.maven.plugins:maven-gpg-plugin:3.2.8'. The program compiles but I was unable to run the tests. Please test the changes thoroughly on your machine.

@hsluoyz
Copy link
Member

hsluoyz commented Sep 9, 2025

@tangyang9464 @imp2002 please review

@CLAassistant
Copy link

CLAassistant commented Sep 9, 2025

CLA assistant check
All committers have signed the CLA.

@hsluoyz
Copy link
Member

hsluoyz commented Sep 9, 2025

@Leander-Wendt as Copilot said, does your PR require Java 17? Because we currently use Jave 8

image

@Leander-Wendt
Copy link
Author

@hsluoyz the pipelines runs now.

I had to remove cobertura, since it hasn't been maintained since 2015.

@hsluoyz
Copy link
Member

hsluoyz commented Sep 14, 2025

@Leander-Wendt Upgrading to Java 17 is not a good idea. This is a lib and we want old Java 8 users could use it.

@Leander-Wendt
Copy link
Author

@Leander-Wendt Upgrading to Java 17 is not a good idea. This is a lib and we want old Java 8 users could use it.

If people want to use a Java 8 compatible version, they can still use an older release of this project.
The hibernate version this project currently uses isn't usable in Spring Boot versions 3.x.x anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Function createSQLQuery() of hibernate is deprecated and has been removed in newer versions

3 participants