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>
|
||||
</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>
|
||||
|
||||
<build>
|
||||
|
@ -2,13 +2,13 @@
|
||||
spring:
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
driverClassName: dm.jdbc.driver.DmDriver
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://192.168.100.106:3306/j2eedb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: 123456
|
||||
url: jdbc:dm://localhost:5236/CS_HF_WMS?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: SYSDBA
|
||||
password: SYSDBA
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
|
Loading…
Reference in New Issue
Block a user