I want some help on an datasource configuration with Tomcat connection pool. Preferably, it should/would be just application.property/yml configurations. Am I correct??
I had the below datasource config in yml which was working in Spring 1.5.8. I am just trying to migrate to 2.O and it is throwing errors as the Hikari CP is the new default connection pool. The migration guide from Pivotal and other questions were tough. Thanks in advance! The below configuration was working fine for me with Spring Boot 1.5.8
datasource:
url: jdbc:oracle:thin:@domain:port:sid
username: username
password: password
driver-class-name: oracle.jdbc.driver.OracleDriver
tomcat:
min-idle: 10
max-wait: 10000
max-idle: 20
max-active: 50
test-on-borrow: true