Skip to content

Commit

Permalink
fix(deps): update managed.ojdbc to v23 (major) (#949)
Browse files Browse the repository at this point in the history
* fix(deps): update managed.ojdbc to v23

* DataSource. connectionWaitTimeout is deprecated, use connectionWaitDuration

* Removed comment as latest ojdbc version is not causing errors anymore

* Trigger build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: radovanradic <[email protected]>
  • Loading branch information
renovate[bot] and radovanradic authored Dec 6, 2023
1 parent da5d4c0 commit 8acfda9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ managed-jdbi = "3.42.0"

# JDBC Drivers

managed-ojdbc = "21.11.0.0" # Don't change until the issue described on the following link gets fixed: https://github.com/spring-projects/spring-boot/issues/35006
managed-ojdbc = "23.3.0.23.09"
managed-ojdbcdms = "21.11.0.0"
managed-postgres-driver = "42.7.0"
managed-mariadb-driver = "3.3.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ import oracle.ucp.jdbc.PoolDataSource
import spock.lang.Specification

import javax.sql.DataSource
import java.time.Duration
import java.time.temporal.ChronoUnit

class DatasourceConfigurationSpec extends Specification {

Expand Down Expand Up @@ -113,7 +115,7 @@ class DatasourceConfigurationSpec extends Specification {
'datasources.default.maxPoolSize' : 20,
'datasources.default.timeoutCheckInterval' : 5,
'datasources.default.inactiveConnectionTimeout': 10,
'datasources.default.connectionWaitTimeout' : 10,
'datasources.default.connectionWaitDuration' : '10s',
'datasources.default.loginTimeout' : 20,
]
))
Expand All @@ -133,7 +135,7 @@ class DatasourceConfigurationSpec extends Specification {
dataSource.getMaxPoolSize() == 20
dataSource.getTimeoutCheckInterval() == 5
dataSource.getInactiveConnectionTimeout() == 10
dataSource.getConnectionWaitTimeout() == 10
dataSource.getConnectionWaitDuration() == Duration.of(10, ChronoUnit.SECONDS)
dataSource.getLoginTimeout() == 20

cleanup:
Expand Down Expand Up @@ -194,15 +196,15 @@ class DatasourceConfigurationSpec extends Specification {
'datasources.default.maxPoolSize' : 20,
'datasources.default.timeoutCheckInterval' : 5,
'datasources.default.inactiveConnectionTimeout': 10,
'datasources.default.connectionWaitTimeout' : 10,
'datasources.default.connectionWaitDuration' : '10s',
'datasources.default.loginTimeout' : 20,

'datasources.person.initialPoolSize' : 5,
'datasources.person.minPoolSize' : 5,
'datasources.person.maxPoolSize' : 20,
'datasources.person.timeoutCheckInterval' : 5,
'datasources.person.inactiveConnectionTimeout' : 10,
'datasources.person.connectionWaitTimeout' : 10,
'datasources.person.connectionWaitDuration' : '10s',
'datasources.person.loginTimeout' : 20,
]
))
Expand All @@ -222,7 +224,7 @@ class DatasourceConfigurationSpec extends Specification {
dataSource.getMaxPoolSize() == 20
dataSource.getTimeoutCheckInterval() == 5
dataSource.getInactiveConnectionTimeout() == 10
dataSource.getConnectionWaitTimeout() == 10
dataSource.getConnectionWaitDuration() == Duration.of(10, ChronoUnit.SECONDS)
dataSource.getLoginTimeout() == 20

when:
Expand All @@ -234,7 +236,7 @@ class DatasourceConfigurationSpec extends Specification {
dataSource.getMaxPoolSize() == 20
dataSource.getTimeoutCheckInterval() == 5
dataSource.getInactiveConnectionTimeout() == 10
dataSource.getConnectionWaitTimeout() == 10
dataSource.getConnectionWaitDuration() == Duration.of(10, ChronoUnit.SECONDS)
dataSource.getLoginTimeout() == 20

cleanup:
Expand All @@ -253,15 +255,15 @@ class DatasourceConfigurationSpec extends Specification {
'datasources.default.maxPoolSize' : 20,
'datasources.default.timeoutCheckInterval' : 5,
'datasources.default.inactiveConnectionTimeout': 10,
'datasources.default.connectionWaitTimeout' : 10,
'datasources.default.connectionWaitDuration' : '10s',
'datasources.default.loginTimeout' : 20,

'datasources.person.initialPoolSize' : 5,
'datasources.person.minPoolSize' : 5,
'datasources.person.maxPoolSize' : 20,
'datasources.person.timeoutCheckInterval' : 5,
'datasources.person.inactiveConnectionTimeout' : 10,
'datasources.person.connectionWaitTimeout' : 10,
'datasources.person.connectionWaitDuration' : '10s',
'datasources.person.loginTimeout' : 20,
]
))
Expand Down Expand Up @@ -290,15 +292,15 @@ class DatasourceConfigurationSpec extends Specification {
'datasources.default.maxPoolSize' : 20,
'datasources.default.timeoutCheckInterval' : 5,
'datasources.default.inactiveConnectionTimeout': 10,
'datasources.default.connectionWaitTimeout' : 10,
'datasources.default.connectionWaitDuration' : '10s',
'datasources.default.loginTimeout' : 20,

'datasources.person.initialPoolSize' : 5,
'datasources.person.minPoolSize' : 5,
'datasources.person.maxPoolSize' : 20,
'datasources.person.timeoutCheckInterval' : 5,
'datasources.person.inactiveConnectionTimeout' : 10,
'datasources.person.connectionWaitTimeout' : 10,
'datasources.person.connectionWaitDuration' : '10s',
'datasources.person.loginTimeout' : 20,
]
))
Expand Down

0 comments on commit 8acfda9

Please sign in to comment.