refactor: 数据库修改为达梦
This commit is contained in:
parent
cbb0f2e6ff
commit
954b89c423
BIN
ktg-admin/lib/DmDialect-for-hibernate5.4.jar
Normal file
BIN
ktg-admin/lib/DmDialect-for-hibernate5.4.jar
Normal file
Binary file not shown.
BIN
ktg-admin/lib/DmJdbcDriver18.jar
Normal file
BIN
ktg-admin/lib/DmJdbcDriver18.jar
Normal file
Binary file not shown.
@ -67,6 +67,21 @@
|
|||||||
<artifactId>ktg-mes</artifactId>
|
<artifactId>ktg-mes</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 达梦数据库驱动依赖 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.dm</groupId>
|
||||||
|
<artifactId>DmJdbcDriver</artifactId>
|
||||||
|
<version>1.8</version>
|
||||||
|
<scope>system</scope>
|
||||||
|
<systemPath>${basedir}/lib/DmJdbcDriver18.jar</systemPath>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.dm.dialect</groupId>
|
||||||
|
<artifactId>hibernate5</artifactId>
|
||||||
|
<version>5.4</version>
|
||||||
|
<scope>system</scope>
|
||||||
|
<systemPath>${basedir}/lib/DmDialect-for-hibernate5.4.jar</systemPath>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
driverClassName: com.mysql.cj.jdbc.Driver
|
driverClassName: dm.jdbc.driver.DmDriver
|
||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://192.168.100.106:3306/j2eedb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:dm://localhost:5236/CS_HF_WMS?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: SYSDBA
|
||||||
password: 123456
|
password: SYSDBA
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
slave:
|
slave:
|
||||||
# 从数据源开关/默认关闭
|
# 从数据源开关/默认关闭
|
||||||
|
Loading…
Reference in New Issue
Block a user