-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Make the JdbcClient
method update(KeyHolder)
work with positional parameters
#31122
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
That's an oversight, we're accidentally delegating to JdbcTemplate's general |
I upgraded the project that i used in this issue (https://github.com/hansdesmet/jdbcclientproposal) to Spring Boot 3.2.0-M3. |
Thanks for updating the sample app. I've confirmed that the Maven build fails. We'll look into it. |
I've added another sample project on https://github.com/hansdesmet/jdbcclientproposalmysql.git. |
Since this issue was closed in 6.1 M5, let's continue the discussion in the follow-up issue I've just created. |
JdbcClient
method update(KeyHolder)
work with positional parameters
Most of the methods of JdbcClient work with positional parameters in the sql statement
als well as with named parameters 👍.
The method update(KeyHolder generatedKeyHolder) works only with named parameters 😔.
It throws an exception when I try to use it with positional parameters.
I put a project on https://github.com/hansdesmet/jdbcclientproposal that shows the problem.
Is it possible to make this methos also work with positional parameters ?
The text was updated successfully, but these errors were encountered: