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 ?