添加甲骨文数据源
This commit is contained in:
@@ -92,14 +92,17 @@ spring:
|
|||||||
url: jdbc:mysql://140.143.206.120:3306/cgldb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
url: jdbc:mysql://140.143.206.120:3306/cgldb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
||||||
username: klp
|
username: klp
|
||||||
password: KeLunPu123@
|
password: KeLunPu123@
|
||||||
# oracle:
|
# Oracle 数据源
|
||||||
# type: ${spring.datasource.type}
|
acid-l2:
|
||||||
# driverClassName: oracle.jdbc.OracleDriver
|
lazy: true
|
||||||
# url: jdbc:oracle:thin:@//localhost:1521/XE
|
type: ${spring.datasource.type}
|
||||||
# username: ROOT
|
driverClassName: oracle.jdbc.OracleDriver
|
||||||
# password: root
|
# 示例:jdbc:oracle:thin:@//localhost:1521/XE
|
||||||
# hikari:
|
url: jdbc:oracle:thin:@//localhost:1521/XE
|
||||||
# connectionTestQuery: SELECT 1 FROM DUAL
|
username: ROOT
|
||||||
|
password: root
|
||||||
|
hikari:
|
||||||
|
connectionTestQuery: SELECT 1 FROM DUAL
|
||||||
# postgres:
|
# postgres:
|
||||||
# type: ${spring.datasource.type}
|
# type: ${spring.datasource.type}
|
||||||
# driverClassName: org.postgresql.Driver
|
# driverClassName: org.postgresql.Driver
|
||||||
|
|||||||
@@ -86,14 +86,17 @@ spring:
|
|||||||
url: jdbc:mysql://140.143.206.120:3306/cgldb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
url: jdbc:mysql://140.143.206.120:3306/cgldb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
||||||
username: klp
|
username: klp
|
||||||
password: KeLunPu123@
|
password: KeLunPu123@
|
||||||
# oracle:
|
# Oracle 数据源
|
||||||
# type: ${spring.datasource.type}
|
acid-l2:
|
||||||
# driverClassName: oracle.jdbc.OracleDriver
|
lazy: true
|
||||||
# url: jdbc:oracle:thin:@//localhost:1521/XE
|
type: ${spring.datasource.type}
|
||||||
# username: ROOT
|
driverClassName: oracle.jdbc.OracleDriver
|
||||||
# password: root
|
# 示例:jdbc:oracle:thin:@//localhost:1521/XE
|
||||||
# hikari:
|
url: jdbc:oracle:thin:@//localhost:1521/XE
|
||||||
# connectionTestQuery: SELECT 1 FROM DUAL
|
username: ROOT
|
||||||
|
password: root
|
||||||
|
hikari:
|
||||||
|
connectionTestQuery: SELECT 1 FROM DUAL
|
||||||
# postgres:
|
# postgres:
|
||||||
# type: ${spring.datasource.type}
|
# type: ${spring.datasource.type}
|
||||||
# driverClassName: org.postgresql.Driver
|
# driverClassName: org.postgresql.Driver
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ server:
|
|||||||
# 日志配置
|
# 日志配置
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
com.klp: @logging.level@
|
com.klp: warn
|
||||||
org.springframework: warn
|
org.springframework: warn
|
||||||
config: classpath:logback-plus.xml
|
config: classpath:logback-plus.xml
|
||||||
|
|
||||||
|
|||||||
7
pom.xml
7
pom.xml
@@ -49,6 +49,7 @@
|
|||||||
<aliyun.sms.version>2.0.23</aliyun.sms.version>
|
<aliyun.sms.version>2.0.23</aliyun.sms.version>
|
||||||
<tencent.sms.version>3.1.687</tencent.sms.version>
|
<tencent.sms.version>3.1.687</tencent.sms.version>
|
||||||
<commons.collections.version>3.2.2</commons.collections.version>
|
<commons.collections.version>3.2.2</commons.collections.version>
|
||||||
|
<oracle.jdbc.version>23.4.0.24.05</oracle.jdbc.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
@@ -173,6 +174,12 @@
|
|||||||
<version>${dynamic-ds.version}</version>
|
<version>${dynamic-ds.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.oracle.database.jdbc</groupId>
|
||||||
|
<artifactId>ojdbc8</artifactId>
|
||||||
|
<version>${oracle.jdbc.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.baomidou</groupId>
|
<groupId>com.baomidou</groupId>
|
||||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||||
|
|||||||
Reference in New Issue
Block a user