GH-8768: Fix countQuery in JdbcMetadataStore
Fixes https://github.com/spring-projects/spring-integration/issues/8768 The `countQuery` is accidentally formatted against `putIfAbsentValueQuery`
This commit is contained in:
@@ -174,7 +174,7 @@ public class JdbcMetadataStore implements ConcurrentMetadataStore, InitializingB
|
||||
this.replaceValueByKeyQuery = String.format(this.replaceValueByKeyQuery, this.tablePrefix);
|
||||
this.removeValueQuery = String.format(this.removeValueQuery, this.tablePrefix);
|
||||
this.putIfAbsentValueQuery = String.format(this.putIfAbsentValueQuery, this.tablePrefix, this.tablePrefix);
|
||||
this.countQuery = String.format(this.putIfAbsentValueQuery, this.tablePrefix);
|
||||
this.countQuery = String.format(this.countQuery, this.tablePrefix);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user