NamedParameterJdbcTemplate batchUpdate returns an array of size 1 when the batchArgs passed is an empty array [SPR-17476] #22008
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Vinay Shankar opened SPR-17476 and commented
The batchUpdate method of NamedParameterJdbcTemplate returns an array of size 1 when the batchArgs passed is an empty array.
The batchUpdate method of the JdbcTemplate returns an empty array when the batchArgs passed is an empty array.
I am using spring-jdbc 4.2.9
Issue Links:
Referenced from: commits 4f5ae22, 362c59c, 0167b79
Backported to: 5.0.11, 4.3.21
The text was updated successfully, but these errors were encountered: