HHH-17561 Fix NPE when checking Oracle autonomous database
This commit is contained in:
parent
39c2ab2747
commit
8bd0d75eee
|
@ -81,7 +81,7 @@ public class OracleServerConfiguration {
|
|||
}
|
||||
|
||||
private static boolean isAutonomous(String cloudServiceParam) {
|
||||
return List.of( "OLTP", "DWCS", "JSON" ).contains( cloudServiceParam );
|
||||
return cloudServiceParam != null && List.of( "OLTP", "DWCS", "JSON" ).contains( cloudServiceParam );
|
||||
}
|
||||
|
||||
private static boolean isAutonomous(DatabaseMetaData databaseMetaData) {
|
||||
|
|
Loading…
Reference in New Issue