mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
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 update(). Batch updates previously required dropping down to (NamedParameter)JdbcTemplate. Closes gh-37216 Co-authored-by: Jiří Krokviak <j.krokviak@gmail.com> Signed-off-by: Jiří Krokviak <j.krokviak@gmail.com> Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>