Closed mikomatic closed 2 months ago
Thanks a lot for the hint to follow through here @mikomatic ; I've gone ahead and made the required changes as it seemed silly to ask you to do so when it's just as easy for my to do it directly. Thanks for helping out!
@timtebeek no problem! Thank you :)
What problem are you trying to solve?
Spring Boot 3.2 updates to Hibernate 6.3 (see release notes ).
Following https://github.com/openrewrite/rewrite-hibernate/pull/23, the
org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_2
recipe could leverage the neworg.openrewrite.hibernate.MigrateToHibernate63
migrationDescribe the solution you'd like
In the same fashion that the
org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1
depends onorg.openrewrite.hibernate.MigrateToHibernate62
, we could addorg.openrewrite.hibernate.MigrateToHibernate63
to theorg.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_2
recipeHave you considered any alternatives or workarounds?
n/a
Additional context
This new migration mostly brings migration of the
hypersistence-utils
dependency to compatible version of hibernate.Are you interested in contributing this feature to OpenRewrite?
Yes i could do a PR if that is ok with you. The only question I would have is about testing. Since it's only a recipe update - adding a new depending recipe - and the new recipe is already tested in the corresponding repo, I don't know if I should add a specific test suite