-
Notifications
You must be signed in to change notification settings - Fork 8
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
add recipe for hibernate dialect update #44
Comments
Hi @iuliiasobolevska ; welcome back! @Laurens-W added some promising new work recently that mean we can now leverage That would then mean we don't have to repeat ourselves when it comes to replacing classes in Java files, XML files or YAML files. Do you have a link out to somewhere showing which dialects were replaced? That might help expand the list above already. |
This problem is two-fold:
Several guides list supported dialects, e.g., https://docs.jboss.org/hibernate/orm/6.0/migration-guide/migration-guide.html#_dialects, Ideally, the OpenRewrite recipe would match on |
Hey @iuliiasobolevska! We'd require a I could see if I can find the time to start a draft but I'm also curious what the user experience with this new |
What problem are you trying to solve?
Hibernate 6.2 dropped support for legacy database versions. As a result, legacy code corresponding to those versions was cleaned. One aspect of it is the clean up of
org.hibernate.dialect
s.What precondition(s) should be checked before applying this recipe?
Describe the situation before applying the recipe
Describe the situation after applying the recipe
Are you interested in [contributing this recipe to OpenRewrite]
This will look smth like:
but needs to be extended to all removed dialects.
The text was updated successfully, but these errors were encountered: