mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Prior to this commit, NamedParameterUtils in spring-r2dbc did not properly expand reused collection parameters. Specifically, values in a supplied collection were only expanded in the resulting query once, for the first occurrence of the named parameter. To address that, this commit effectively reinstates the original logic for ExpandedQuery from NamedParameterUtils in the Spring Data R2DBC project. https://github.com/spring-projects/spring-data-relational/blob/94958f5eb66cbe2e8e025155cd99abf36f6f91f4/spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/core/NamedParameterUtils.java#L486 Closes gh-34768