-
Notifications
You must be signed in to change notification settings - Fork 350
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
Enum not supported in query #1023
Comments
Please provide a Minimimal Reproducable Example, preferable as a Github repository. Make sure to include the database, either as an in memory database or if that is not possible using Testcontainers. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
https://github.com/victorherraiz-santander/spring-data-jdbc-issue-1023 It works with H2 but fails with postgresql, embedded or not. Just run the provided app to get the excepcion |
I couldn't run your example but I was able to create some integration tests reproducing the problem. |
This was fixed by #1212 |
Trying to execute the following query:
It throws with this message:
I tried to use a
Converter<Booking.Slot, String>
but it does not get executed.The expected result should be that queries use the same converters (e.i. enum to string) as other methods
Starter: org.springframework.boot:spring-boot-starter-data-jdbc:2.5.3
The text was updated successfully, but these errors were encountered: