-
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
Compilation error after using migrate to spring boot 3.3 #31
Comments
As discussed on Slack: it would be great if you could provide an example of what the manual change was that you had to make to get things working, and fill that in under "What did you expect to see?". Perhaps linking the relevant parts of their migration guide. That way we have something to work towards, as right now I wouldn't know what to do, since I haven't used Hibernate in a while. |
The conversion should happen like this as per hibernate migration guide to 6 before @Type(type="yes_no")
boolean isActive; after @Convert(converter=YesNoConverter.class)
boolean isActive; and this dependency should be injected to the pom.xml <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>6.0.0.Final</version>
</dependency> I am still looking into, what's the exact conversion for the UUIDCharType |
@timtebeek , Can you please help me finding the exact recipe which modified the hibernate related code in my case. |
It's likely to have been this recipe rewrite-hibernate/src/main/java/org/openrewrite/hibernate/TypeAnnotationParameter.java Lines 38 to 50 in f50b859
Any time you run the Maven or Gradle plugin it should output which files where changed by which recipes, so I'd expect to see the same there. |
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am using the Maven command line, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
What did you see instead?
What is the full stack trace of any errors you encountered?
The text was updated successfully, but these errors were encountered: