diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Database.java b/hibernate-core/src/main/java/org/hibernate/dialect/Database.java index 7674ef5d03..64da98d764 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Database.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Database.java @@ -381,7 +381,7 @@ public enum Database { case 8: return new Oracle8iDialect(); default: - latestDialectInstance( this ); + return latestDialectInstance( this ); } }