application-prod.yml

spring:
datasource:
url: xxxxx
username: xxx
password: xxxx
driver-class-name: oracle.jdbc.driver.OracleDriver
type: org.apache.commons.dbcp2.BasicDataSource
dbcp2:
initial-size: 10
max-active: 6
max-idle: 4
min-idle: 2
max-wait-millis: 10000
validation-query: select 1 from dual
test-on-borrow: true
test-on-return: true
test-while-idle: true
posted @ 2019-08-03 21:27  albert_think  阅读(604)  评论(0编辑  收藏  举报