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 ) ) { if ( "Oracle".equals( databaseName ) ) {
switch ( databaseMajorVersion ) { switch ( databaseMajorVersion ) {
case 12:
// fall through
case 11: case 11:
return new Oracle10gDialect(); // fall through
case 10: case 10:
return new Oracle10gDialect(); return new Oracle10gDialect();
case 9: case 9:
@ -180,6 +182,7 @@ public class StandardDialectResolver extends AbstractDialectResolver {
default: default:
LOG.unknownOracleVersion( databaseMajorVersion ); LOG.unknownOracleVersion( databaseMajorVersion );
} }
return new Oracle8iDialect();
} }
if ( databaseName.startsWith( "Firebird" ) ) { if ( databaseName.startsWith( "Firebird" ) ) {