diff --git a/backend/roomroot-admin/pom.xml b/backend/roomroot-admin/pom.xml index dfd6bd64..3e81f134 100644 --- a/backend/roomroot-admin/pom.xml +++ b/backend/roomroot-admin/pom.xml @@ -37,6 +37,13 @@ 8.1.2.192 + + + org.opengauss + opengauss-jdbc + 6.0.3-og + + com.roomroot diff --git a/backend/roomroot-admin/src/main/resources/application-druid.yml b/backend/roomroot-admin/src/main/resources/application-druid.yml index 742526c8..97ad57c8 100644 --- a/backend/roomroot-admin/src/main/resources/application-druid.yml +++ b/backend/roomroot-admin/src/main/resources/application-druid.yml @@ -3,10 +3,10 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource # 达梦连接串:ip:端口,schema指定默认模式 - url: jdbc:dm://10.1.1.17:5236?schema=JIAOWU&useUnicode=true&characterEncoding=utf-8 - username: JIAOWU + url: jdbc:opengauss://10.1.1.17:5433/jwgl?currentSchema=jwg1&batchMode=off&stringtype=unspecified + username: jwg1 password: Jiaowu123 - driver-class-name: dm.jdbc.driver.DmDriver + driver-class-name: org.opengauss.Driver # Druid 基础参数 druid: