mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Upgrade to Oracle Database 23.3.0.23.09
Closes gh-38121
This commit is contained in:
parent
5765f9410c
commit
d2325d1110
@ -17,6 +17,7 @@
|
|||||||
package org.springframework.boot.autoconfigure.jdbc;
|
package org.springframework.boot.autoconfigure.jdbc;
|
||||||
|
|
||||||
import java.sql.Connection;
|
import java.sql.Connection;
|
||||||
|
import java.time.Duration;
|
||||||
|
|
||||||
import javax.sql.DataSource;
|
import javax.sql.DataSource;
|
||||||
|
|
||||||
@ -82,10 +83,10 @@ class OracleUcpDataSourceConfigurationTests {
|
|||||||
this.contextRunner.run((context) -> {
|
this.contextRunner.run((context) -> {
|
||||||
PoolDataSourceImpl ds = context.getBean(PoolDataSourceImpl.class);
|
PoolDataSourceImpl ds = context.getBean(PoolDataSourceImpl.class);
|
||||||
assertThat(ds.getInitialPoolSize()).isZero();
|
assertThat(ds.getInitialPoolSize()).isZero();
|
||||||
assertThat(ds.getMinPoolSize()).isZero();
|
assertThat(ds.getMinPoolSize()).isEqualTo(1);
|
||||||
assertThat(ds.getMaxPoolSize()).isEqualTo(Integer.MAX_VALUE);
|
assertThat(ds.getMaxPoolSize()).isEqualTo(Integer.MAX_VALUE);
|
||||||
assertThat(ds.getInactiveConnectionTimeout()).isZero();
|
assertThat(ds.getInactiveConnectionTimeout()).isZero();
|
||||||
assertThat(ds.getConnectionWaitTimeout()).isEqualTo(3);
|
assertThat(ds.getConnectionWaitDuration()).isEqualTo(Duration.ofSeconds(3));
|
||||||
assertThat(ds.getTimeToLiveConnectionTimeout()).isZero();
|
assertThat(ds.getTimeToLiveConnectionTimeout()).isZero();
|
||||||
assertThat(ds.getAbandonedConnectionTimeout()).isZero();
|
assertThat(ds.getAbandonedConnectionTimeout()).isZero();
|
||||||
assertThat(ds.getTimeoutCheckInterval()).isEqualTo(30);
|
assertThat(ds.getTimeoutCheckInterval()).isEqualTo(30);
|
||||||
|
@ -1093,10 +1093,7 @@ bom {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
library("Oracle Database", "21.9.0.0") {
|
library("Oracle Database", "23.3.0.23.09") {
|
||||||
prohibit {
|
|
||||||
versionRange "23.2.0.0"
|
|
||||||
}
|
|
||||||
group("com.oracle.database.jdbc") {
|
group("com.oracle.database.jdbc") {
|
||||||
imports = [
|
imports = [
|
||||||
"ojdbc-bom"
|
"ojdbc-bom"
|
||||||
|
Loading…
Reference in New Issue
Block a user