Fix SQLite connection string

This commit is contained in:
Viktor Egorov
2025-06-24 11:07:12 +02:00
parent 7c9aa016d8
commit a50f82c1ea
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
- type: fixed
description: Adjust connection string to match windows path resolver

View File

@@ -80,7 +80,7 @@ public class SQLiteQueryableStoreFactory implements QueryableStoreFactory {
@ConfigValue(key = "queryableStore.leakDetectionThreshold", defaultValue = DEFAULT_LEAK_DETECTION_THRESHOLD_IN_SECONDS) int leakDetectionThresholdInSeconds
) {
this(
"jdbc:sqlite:" + contextProvider.resolve(Path.of("scm.db?shared_cache=true&journal_mode=WAL")),
"jdbc:sqlite:" + contextProvider.resolve(Path.of("scm.db")) + "?shared_cache=true&journal_mode=WAL",
objectMapper,
keyGenerator,
pluginLoader.getExtensionProcessor().getQueryableTypes(),