Skip to content

Commit 9b78e3c

Browse files
committed
Fix performance bug with large number of unnamed parameters
On some occasions where col in (:args) contain a really lot args, 10k+ for instance, this commit fixes a performance (high CPU) bug by NOT traversing the whole map in basically O(n^2) manner Signed-off-by: Mikhail Fedorov <[email protected]>
1 parent 4b67241 commit 9b78e3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/convert/QueryMapperUnitTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
*
4747
* @author Mark Paluch
4848
* @author Jens Schauder
49+
* @author Mikhail Fedorov
4950
*/
5051
public class QueryMapperUnitTests {
5152

0 commit comments

Comments
 (0)