Skip to content
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

Recipes to migrate to Hibernate 6.6 #49

Open
9 tasks
timtebeek opened this issue Jan 2, 2025 · 0 comments
Open
9 tasks

Recipes to migrate to Hibernate 6.6 #49

timtebeek opened this issue Jan 2, 2025 · 0 comments
Labels

Comments

@timtebeek
Copy link
Contributor

timtebeek commented Jan 2, 2025

What problem are you trying to solve?

Allow folks to migrate to Hibernate 6.6, as 6.5 is out of support.

What precondition(s) should be checked before applying this recipe?

Hibernate 6.6 is compatible with these versions, so possibly these could be influence preconditions.

Java 11, 17, 21, 22 or 23
Jakarta Persistence 3.1
Jakarta EE 10

Necessary migration steps

As per https://docs.jboss.org/hibernate/orm/6.6/migration-guide/migration-guide.html

  • Oracle implicit array types
  • Changes to UserDefinedType
  • Subset check for arrays to use array_includes
  • Merge versioned entity when row is deleted
  • Explicit validation of annotated class types
  • Discriminator-based embeddable inheritance
  • H2 database and bulk mutation strategy
  • Criteria: jakarta.persistence.criteria.Expression#as(Class)
  • @Table and SINGLE_TABLE inheritance

Any additional context

https://hibernate.org/orm/releases/6.5/
https://hibernate.org/orm/releases/6.6/

@timtebeek timtebeek moved this to Recipes Wanted in OpenRewrite Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Recipes Wanted
Development

No branches or pull requests

1 participant