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