Skip to content

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

@hansdesmet

Description

@hansdesmet

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 ?

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions