Upgrade to Oracle Database 21.3.0.0

Closes gh-28054
pull/28071/head
Andy Wilkinson 3 years ago
parent 3446661862
commit b69ef0c881

@ -1313,7 +1313,7 @@ bom {
]
}
}
library("Oracle Database", "21.1.0.0") {
library("Oracle Database", "21.3.0.0") {
group("com.oracle.database.jdbc") {
imports = [
"ojdbc-bom"

@ -646,7 +646,17 @@ public final class DataSourceBuilder<T extends DataSource> {
add(DataSourceProperty.DRIVER_CLASS_NAME, PoolDataSource::getConnectionFactoryClassName,
PoolDataSource::setConnectionFactoryClassName);
add(DataSourceProperty.USERNAME, PoolDataSource::getUser, PoolDataSource::setUser);
add(DataSourceProperty.PASSWORD, PoolDataSource::getPassword, PoolDataSource::setPassword);
add(DataSourceProperty.PASSWORD, passwordGetter(), PoolDataSource::setPassword);
}
@SuppressWarnings("deprecation")
static Getter<PoolDataSource, String> passwordGetter() {
try {
return (dataSource) -> dataSource.getPassword();
}
catch (NoSuchMethodError ex) {
return null;
}
}
}

Loading…
Cancel
Save