commit
2318e416a6
|
@ -23,12 +23,12 @@ spring.datasource.tomcat.minIdle=5
|
||||||
|
|
||||||
# UCP settings
|
# UCP settings
|
||||||
#Note: These properties require JDBC version 21.0.0.0
|
#Note: These properties require JDBC version 21.0.0.0
|
||||||
spring.datasource.ucp.connection-factory-class-name=oracle.jdbc.pool.OracleDataSource
|
spring.datasource.oracleucp.connection-factory-class-name=oracle.jdbc.pool.OracleDataSource
|
||||||
spring.datasource.ucp.sql-for-validate-connection=select * from dual
|
spring.datasource.oracleucp.sql-for-validate-connection=select * from dual
|
||||||
spring.datasource.ucp.connection-pool-name=UcpPoolBooks
|
spring.datasource.oracleucp.connection-pool-name=UcpPoolBooks
|
||||||
spring.datasource.ucp.initial-pool-size=5
|
spring.datasource.oracleucp.initial-pool-size=5
|
||||||
spring.datasource.ucp.min-pool-size=5
|
spring.datasource.oracleucp.min-pool-size=5
|
||||||
spring.datasource.ucp.max-pool-size=10
|
spring.datasource.oracleucp.max-pool-size=10
|
||||||
|
|
||||||
# JPA settings
|
# JPA settings
|
||||||
spring.jpa.database-platform=org.hibernate.dialect.Oracle12cDialect
|
spring.jpa.database-platform=org.hibernate.dialect.Oracle12cDialect
|
||||||
|
|
|
@ -26,4 +26,5 @@ public class SpringOraclePoolingApplicationOracleUCPLiveTest {
|
||||||
assertTrue(dataSource instanceof oracle.ucp.jdbc.UCPDataSource);
|
assertTrue(dataSource instanceof oracle.ucp.jdbc.UCPDataSource);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue