Skip to content

Add batch update support to JdbcClient - #37216

Open
quaff wants to merge 2 commits into
spring-projects:mainfrom
quaff:jdbcclient-batch-update
Open

Add batch update support to JdbcClient#37216
quaff wants to merge 2 commits into
spring-projects:mainfrom
quaff:jdbcclient-batch-update

Conversation

@quaff

@quaff quaff commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

See #36944

Empatixx and others added 2 commits August 31, 2026 08:50
Introduce a fluent batch() operation on JdbcClient.StatementSpec that
accumulates several sets of parameters - bound as positional or named
parameters in the same fashion as a single update, separated by add() -
and executes them as a single JDBC batch through batchUpdate(). Batch
updates previously required dropping down to JdbcTemplate or
NamedParameterJdbcTemplate.

Closes spring-projectsgh-33843

Signed-off-by: Jiří Krokviak <j.krokviak@gmail.com>
See spring-projectsGH-36944

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Aug 31, 2026
@bclozel bclozel added the in: data Issues in data modules (jdbc, orm, oxm, tx) label Aug 31, 2026
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: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants