From ba40c1f699e43f52eb88dc2098abccf445ddddf3 Mon Sep 17 00:00:00 2001 From: dhb52 Date: Thu, 6 Jun 2024 23:30:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=B9=E7=94=A8kingbase8=E5=AE=98?= =?UTF-8?q?=E6=96=B9=E9=A9=B1=E5=8A=A8,jdbc-url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-dependencies/pom.xml | 7 +++++++ yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml | 5 +++++ yudao-server/src/main/resources/application-local.yaml | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml index 9304ad4ce..07b9237f8 100644 --- a/yudao-dependencies/pom.xml +++ b/yudao-dependencies/pom.xml @@ -30,6 +30,7 @@ 2.2.11 3.26.0 8.1.3.62 + 8.6.0 5.0.2 2.3.0 @@ -249,6 +250,12 @@ ${opengauss.jdbc.version} + + cn.com.kingbase + kingbase8 + ${kingbase.jdbc.version} + + cn.iocoder.boot diff --git a/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml b/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml index e1f98b3cf..1f04e4a63 100644 --- a/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml +++ b/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml @@ -53,6 +53,11 @@ DmJdbcDriver18 true + + cn.com.kingbase + kingbase8 + true + org.opengauss opengauss-jdbc diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index e69ae2a88..0aafa0d62 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -52,7 +52,7 @@ spring: # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例 # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true;useUnicode=true;characterEncoding=utf-8 # SQLServer 连接的示例 # url: jdbc:dm://127.0.0.1:5236?schema=RUOYI_VUE_PRO # DM 连接的示例 - # url: jdbc:postgresql://127.0.0.1:54321/test # KingbaseES 人大金仓 连接的示例, MyBatis不兼容官方驱动 + # url: jdbc:kingbase8://127.0.0.1:54321/test # 人大金仓 KingbaseES 连接的示例 # url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 连接的示例 username: root password: 123456