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

Fix documentation: Passing in Lists of Values for IN Clause does not work with JdbcTemplate #31228

Closed
hansdesmet opened this issue Sep 14, 2023 · 0 comments
Assignees
Labels
in: data Issues in data modules (jdbc, orm, oxm, tx) status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Milestone

Comments

@hansdesmet
Copy link

The documentation page https://docs.spring.io/spring-framework/reference/data-access/jdbc/parameter-handling.html#jdbc-in-clause says that "Passing in Lists of Values for IN Clause" works with NamedParameterJdbcTemplate and with JdbcTemplate in the sentence

The named parameter support provided in the NamedParameterJdbcTemplate and JdbcTemplate takes the latter approach

It only works with NamedParameterJdbcTemplate .
It does not work with JdbcTemplate.

I put a project on https://github.com/hansdesmet/documentationproposal to show this.

Can you fix the documentation ?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 14, 2023
@jhoeller jhoeller added in: data Issues in data modules (jdbc, orm, oxm, tx) type: documentation A documentation task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 14, 2023
@jhoeller jhoeller self-assigned this Sep 14, 2023
@jhoeller jhoeller added this to the 6.0.12 milestone Sep 14, 2023
@jhoeller jhoeller added the for: backport-to-5.3.x Marks an issue as a candidate for backport to 5.3.x label Sep 14, 2023
@github-actions github-actions bot added status: backported An issue that has been backported to maintenance branches and removed for: backport-to-5.3.x Marks an issue as a candidate for backport to 5.3.x labels Sep 14, 2023
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) status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

3 participants