-
Notifications
You must be signed in to change notification settings - Fork 38.5k
NamedParameterJdbcTemplate.query() breaks handling of SqlParameterValue with a collection of UUID's #26481
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
Comments
Do you mean this worked in 5.2.11 and then stopped working in 5.2.12? If not, can you tell us which version this previously worked with? |
The problem was introduced here 66292cd Previously, the value was un-wrapped and then re-wrapped into a new instance of |
Thanks for the feedback. This may be a duplicate of #26467. |
I wasn't sure at first, that's why I've created a new issue, but now I think you're correct and this is a duplicate. |
Uh oh!
There was an error while loading. Please reload this page.
Affects: v5.2.12.RELEASE (Spring Boot
v2.3.7.RELEASE
)I have a PostgreSQL query
executed as
Previously, this happily worked, it expanded the collection to a list of parameters and executed it.
I've tried to debug it and at some point, the parameters that it's trying to bind to the prepared statement contain string like this
which suggest to me that the query is correctly expanded based on the number of values in the collection, but the parameter is then converted somehow to a single value, which breaks the parameter binding
The text was updated successfully, but these errors were encountered: