Merge pull request #12163 from panos-kakos/java-9576

JAVA-9576
This commit is contained in:
kwoyke 2022-05-05 14:01:18 +02:00 committed by GitHub
commit 2318e416a6
2 changed files with 7 additions and 6 deletions

View File

@ -23,12 +23,12 @@ spring.datasource.tomcat.minIdle=5
# UCP settings
#Note: These properties require JDBC version 21.0.0.0
spring.datasource.ucp.connection-factory-class-name=oracle.jdbc.pool.OracleDataSource
spring.datasource.ucp.sql-for-validate-connection=select * from dual
spring.datasource.ucp.connection-pool-name=UcpPoolBooks
spring.datasource.ucp.initial-pool-size=5
spring.datasource.ucp.min-pool-size=5
spring.datasource.ucp.max-pool-size=10
spring.datasource.oracleucp.connection-factory-class-name=oracle.jdbc.pool.OracleDataSource
spring.datasource.oracleucp.sql-for-validate-connection=select * from dual
spring.datasource.oracleucp.connection-pool-name=UcpPoolBooks
spring.datasource.oracleucp.initial-pool-size=5
spring.datasource.oracleucp.min-pool-size=5
spring.datasource.oracleucp.max-pool-size=10
# JPA settings
spring.jpa.database-platform=org.hibernate.dialect.Oracle12cDialect

View File

@ -26,4 +26,5 @@ public class SpringOraclePoolingApplicationOracleUCPLiveTest {
assertTrue(dataSource instanceof oracle.ucp.jdbc.UCPDataSource);
}
}