diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 03689532780..ce382ada117 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -205,17 +205,6 @@ bom { site("https://github.com/FasterXML/java-classmate") } } - library("ClickHouse", "0.6.5") { - group("com.clickhouse") { - modules = [ - "clickhouse-jdbc" - ] - } - links { - site("https://clickhouse.com") - releaseNotes("https://github.com/ClickHouse/clickhouse-java/releases/tag/v{version}") - } - } library("Commons Codec", "${commonsCodecVersion}") { group("commons-codec") { modules = [ diff --git a/spring-boot-project/spring-boot-parent/build.gradle b/spring-boot-project/spring-boot-parent/build.gradle index 98698339118..2f9173cd0d4 100644 --- a/spring-boot-project/spring-boot-parent/build.gradle +++ b/spring-boot-project/spring-boot-parent/build.gradle @@ -33,6 +33,13 @@ bom { ] } } + library("ClickHouse", "0.6.5") { + group("com.clickhouse") { + modules = [ + "clickhouse-jdbc" + ] + } + } library("Commons Compress", "1.25.0") { group("org.apache.commons") { modules = [ diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java index 0fb5233393d..07f582f5b38 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java @@ -212,10 +212,12 @@ public enum DatabaseDriver { * @since 3.4.0 */ CLICKHOUSE("ClickHouse", "com.clickhouse.jdbc.ClickHouseDriver", null, "SELECT 1") { + @Override protected Collection getUrlPrefixes() { return Arrays.asList("ch", "clickhouse"); } + }; private final String productName;