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

Oracle12c
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDialectResolver.java
This commit is contained in:
Brett Meyer 2014-04-07 11:11:46 -04:00
parent 1af0615f17
commit 1d10adf728
1 changed files with 5 additions and 2 deletions

View File

@ -169,8 +169,10 @@ public class StandardDialectResolver extends AbstractDialectResolver {
if ( "Oracle".equals( databaseName ) ) {
switch ( databaseMajorVersion ) {
case 12:
// fall through
case 11:
return new Oracle10gDialect();
// fall through
case 10:
return new Oracle10gDialect();
case 9:
@ -178,8 +180,9 @@ public class StandardDialectResolver extends AbstractDialectResolver {
case 8:
return new Oracle8iDialect();
default:
LOG.unknownOracleVersion(databaseMajorVersion);
LOG.unknownOracleVersion( databaseMajorVersion );
}
return new Oracle8iDialect();
}
if ( databaseName.startsWith( "Firebird" ) ) {