Skip to content

Comments

[Snyk] Upgrade org.hibernate.orm:hibernate-jpamodelgen from 6.6.17.Final to 7.2.1.Final#1063

Open
akilarootcode wants to merge 1 commit intomainfrom
snyk-upgrade-2b87e88ff92f3c0cdb6625d5885d4364
Open

[Snyk] Upgrade org.hibernate.orm:hibernate-jpamodelgen from 6.6.17.Final to 7.2.1.Final#1063
akilarootcode wants to merge 1 commit intomainfrom
snyk-upgrade-2b87e88ff92f3c0cdb6625d5885d4364

Conversation

@akilarootcode
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade org.hibernate.orm:hibernate-jpamodelgen from 6.6.17.Final to 7.2.1.Final.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 68 versions ahead of your current version.

  • The recommended version was released a month ago.


Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

…al to 7.2.1.Final

Snyk has created this PR to upgrade org.hibernate.orm:hibernate-jpamodelgen from 6.6.17.Final to 7.2.1.Final.

See this package in maven:
org.hibernate.orm:hibernate-jpamodelgen

See this project in Snyk:
https://app.snyk.io/org/thinuwanw/project/49ad18c7-223c-4e47-8fe8-4360657b6ac2?utm_source=github&utm_medium=referral&page=upgrade-pr
Copilot AI review requested due to automatic review settings February 11, 2026 13:37
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sonarqubecloud
Copy link

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the backend Maven build to use a newer Hibernate JPA metamodel generator version, as part of dependency maintenance/security hygiene.

Changes:

  • Bumps org.hibernate.orm:hibernate-jpamodelgen from 6.6.17.Final to 7.2.1.Final in backend/pom.xml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>6.6.17.Final</version>
<version>7.2.1.Final</version>
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Hibernate JPA modelgen version is now set to 7.2.1.Final here, but the Maven compiler plugin still configures hibernate-jpamodelgen under annotationProcessorPaths using ${hibernate.version} (defined by the Spring Boot parent). That means the annotation processor used during compilation may remain on the Spring Boot-managed Hibernate version (likely 6.x), while the compile classpath pulls in 7.2.1—leading to inconsistent metamodel generation and potential classpath/version conflicts. Consider using a single version source for both (e.g., set the dependency version to ${hibernate.version} or update the annotationProcessorPaths entry to 7.2.1.Final and ensure the runtime Hibernate ORM stack is upgraded/compatible as well).

Suggested change
<version>7.2.1.Final</version>
<version>${hibernate.version}</version>

Copilot uses AI. Check for mistakes.
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.

3 participants