Skip to content

Commit abb3b68

Browse files
author
Fedorov, Mikhail
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 <mfedorov761@gmail.com>
1 parent a7940a0 commit abb3b68

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)