Skip to content
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

Pass correct SqlParameterSource to NamedParameterJdbcTemplate in DefaultJdbcClient #31195

Closed
wants to merge 2 commits into from

Conversation

making
Copy link
Member

@making making commented Sep 10, 2023

When using RowCallbackHandler or ResultSetExtractor in JdbcClient and passing a parameter with paramSource, No value supplied for the SQL parameter 'xxxxxx' occurs because the SqlParameterSource used internally is different.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 10, 2023
@sbrannen sbrannen added in: data Issues in data modules (jdbc, orm, oxm, tx) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 10, 2023
@sbrannen sbrannen added this to the 6.1.0-RC1 milestone Sep 10, 2023
@sbrannen sbrannen self-assigned this Sep 10, 2023
@sbrannen sbrannen changed the title Correct the SqlParameterSource passed to NamedParameterJdbcTemplate within DefaultJdbcClient. Pass correct SqlParameterSource to NamedParameterJdbcTemplate in DefaultJdbcClient Sep 10, 2023
@sbrannen
Copy link
Member

Good catch, @making! 👍

I'll get this merged into main soon.

@sbrannen sbrannen closed this in 588b5a4 Sep 10, 2023
@making making deleted the paramsource-in-jdbcclient branch September 10, 2023 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants