HHH-9103 Dialect resolver should use a newer Oracle dialect for
Oracle12c
This commit is contained in:
parent
92ae4ac417
commit
03586f3b7b
|
@ -195,8 +195,10 @@ public class StandardDialectResolver implements DialectResolver {
|
|||
final int majorVersion = info.getDatabaseMajorVersion();
|
||||
|
||||
switch ( majorVersion ) {
|
||||
case 12:
|
||||
// fall through
|
||||
case 11:
|
||||
return new Oracle10gDialect();
|
||||
// fall through
|
||||
case 10:
|
||||
return new Oracle10gDialect();
|
||||
case 9:
|
||||
|
@ -206,6 +208,7 @@ public class StandardDialectResolver implements DialectResolver {
|
|||
default:
|
||||
LOG.unknownOracleVersion( majorVersion );
|
||||
}
|
||||
return new Oracle8iDialect();
|
||||
}
|
||||
|
||||
if ( "HDB".equals( databaseName ) ) {
|
||||
|
|
Loading…
Reference in New Issue