添加甲骨文数据源
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
|
||||
username: klp
|
||||
password: KeLunPu123@
|
||||
# oracle:
|
||||
# type: ${spring.datasource.type}
|
||||
# driverClassName: oracle.jdbc.OracleDriver
|
||||
# url: jdbc:oracle:thin:@//localhost:1521/XE
|
||||
# username: ROOT
|
||||
# password: root
|
||||
# hikari:
|
||||
# connectionTestQuery: SELECT 1 FROM DUAL
|
||||
# Oracle 数据源
|
||||
acid-l2:
|
||||
lazy: true
|
||||
type: ${spring.datasource.type}
|
||||
driverClassName: oracle.jdbc.OracleDriver
|
||||
# 示例:jdbc:oracle:thin:@//localhost:1521/XE
|
||||
url: jdbc:oracle:thin:@//localhost:1521/XE
|
||||
username: ROOT
|
||||
password: root
|
||||
hikari:
|
||||
connectionTestQuery: SELECT 1 FROM DUAL
|
||||
# postgres:
|
||||
# type: ${spring.datasource.type}
|
||||
# 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
|
||||
username: klp
|
||||
password: KeLunPu123@
|
||||
# oracle:
|
||||
# type: ${spring.datasource.type}
|
||||
# driverClassName: oracle.jdbc.OracleDriver
|
||||
# url: jdbc:oracle:thin:@//localhost:1521/XE
|
||||
# username: ROOT
|
||||
# password: root
|
||||
# hikari:
|
||||
# connectionTestQuery: SELECT 1 FROM DUAL
|
||||
# Oracle 数据源
|
||||
acid-l2:
|
||||
lazy: true
|
||||
type: ${spring.datasource.type}
|
||||
driverClassName: oracle.jdbc.OracleDriver
|
||||
# 示例:jdbc:oracle:thin:@//localhost:1521/XE
|
||||
url: jdbc:oracle:thin:@//localhost:1521/XE
|
||||
username: ROOT
|
||||
password: root
|
||||
hikari:
|
||||
connectionTestQuery: SELECT 1 FROM DUAL
|
||||
# postgres:
|
||||
# type: ${spring.datasource.type}
|
||||
# driverClassName: org.postgresql.Driver
|
||||
|
||||
@@ -53,7 +53,7 @@ server:
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
com.klp: @logging.level@
|
||||
com.klp: warn
|
||||
org.springframework: warn
|
||||
config: classpath:logback-plus.xml
|
||||
|
||||
|
||||
7
pom.xml
7
pom.xml
@@ -49,6 +49,7 @@
|
||||
<aliyun.sms.version>2.0.23</aliyun.sms.version>
|
||||
<tencent.sms.version>3.1.687</tencent.sms.version>
|
||||
<commons.collections.version>3.2.2</commons.collections.version>
|
||||
<oracle.jdbc.version>23.4.0.24.05</oracle.jdbc.version>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
@@ -173,6 +174,12 @@
|
||||
<version>${dynamic-ds.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.oracle.database.jdbc</groupId>
|
||||
<artifactId>ojdbc8</artifactId>
|
||||
<version>${oracle.jdbc.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user