HHH-15018 OracleTypesHelper shouldn't log stacktraces when the Oracle JDBC driver isn't loadable

This commit is contained in:
Sanne Grinovero 2022-01-10 15:55:41 +00:00 committed by Sanne Grinovero
parent 0496515252
commit 7c67cf72d1
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class OracleTypesHelper {
typeCode = extractOracleCursorTypeValue(); typeCode = extractOracleCursorTypeValue();
} }
catch (Exception e) { catch (Exception e) {
log.warn( "Unable to resolve Oracle CURSOR JDBC type code", e ); log.warn( "Unable to resolve Oracle CURSOR JDBC type code: the class OracleTypesHelper was initialized but the Oracle JDBC driver could not be loaded." );
} }
oracleCursorTypeSqlType = typeCode; oracleCursorTypeSqlType = typeCode;
} }