From 32bf66b6928c00da3bb8bfc065f9ac00f3ca8944 Mon Sep 17 00:00:00 2001 From: Looly Date: Wed, 26 Jul 2023 18:56:31 +0800 Subject: [PATCH] =?UTF-8?q?clickhouse=E9=A9=B1=E5=8A=A8=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E4=B8=BAcom.clickhouse.jdbc.ClickHouseDriver?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 ++- .../src/main/java/cn/hutool/db/dialect/DriverNamePool.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ee30189f..e0d3d4651 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ # 🚀Changelog ------------------------------------------------------------------------------------------------------------- -# 5.8.21(2023-07-20) +# 5.8.21(2023-07-26) ### 🐣新特性 * 【core 】 list 为空时,CollUtil.max等返回null而非异常(pr#1027@Gitee) @@ -15,6 +15,7 @@ * 【http 】 使用multiparty方式支持body参数(issue#3158@Github) * 【core 】 ZipReader增加setMaxSizeDiff方法,自定义或关闭ZipBomb(issue#3018@Github) * 【db 】 Query.of(entity)构建时传入fields(issue#I7M5JU@Gitee) +* 【db 】 clickhouse驱动名称变更为com.clickhouse.jdbc.ClickHouseDriver(issue#3224@Github) ### 🐞Bug修复 * 【core 】 修复MapUtil工具使用filter方法构造传入参数结果问题(issue#3162@Github) diff --git a/hutool-db/src/main/java/cn/hutool/db/dialect/DriverNamePool.java b/hutool-db/src/main/java/cn/hutool/db/dialect/DriverNamePool.java index 6da118859..51cdec818 100644 --- a/hutool-db/src/main/java/cn/hutool/db/dialect/DriverNamePool.java +++ b/hutool-db/src/main/java/cn/hutool/db/dialect/DriverNamePool.java @@ -75,7 +75,7 @@ public interface DriverNamePool { /** * JDBC 驱动 ClickHouse */ - String DRIVER_CLICK_HOUSE = "ru.yandex.clickhouse.ClickHouseDriver"; + String DRIVER_CLICK_HOUSE = "com.clickhouse.jdbc.ClickHouseDriver"; /** * JDBC 驱动 瀚高数据库 */