spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Add batch operations support to `DatabaseClient`

Open sdeleuze opened this issue 1 year ago • 1 comments

As discussed in #27229, this issue intends to add support to batch operations support to R2DBC DatabaseClient.

The starting point is bind(params -> …) as proposed in this comment of the PR, but we should also support iterating over a collection without requiring a wrapper class or an AtomicReference.

Another concern is that bind(params -> …) looks too implicit in terms of name, could confuse users versus bindValues(List<?> source) which has a totally different meaning.

Depending on how the implementation goes, we may create a follow-up issue for a similar feature in JdbcClient.

sdeleuze avatar Oct 29 '24 14:10 sdeleuze

Is there currently any work in progress? Or would this issue be something for a first time contribution?

tobias-haenel avatar May 05 '25 16:05 tobias-haenel