HHH-9103 Dialect resolver should use a newer Oracle dialect for

Oracle12c
This commit is contained in:
Brett Meyer 2014-04-07 11:09:40 -04:00
parent 92ae4ac417
commit 03586f3b7b
1 changed files with 4 additions and 1 deletions

View File

@ -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 ) ) {