From 05144811e428fac1b5ecc811938e6dd113d1bc2c Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Thu, 15 Aug 2013 10:10:44 -0400 Subject: [PATCH] HHH-8440 added mssql2012 to StandardDatabaseInfoDialectResolver --- .../dialect/internal/StandardDatabaseInfoDialectResolver.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDatabaseInfoDialectResolver.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDatabaseInfoDialectResolver.java index 11e325b66b..ba66857e87 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDatabaseInfoDialectResolver.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDatabaseInfoDialectResolver.java @@ -47,6 +47,7 @@ import org.hibernate.dialect.PostgreSQL9Dialect; import org.hibernate.dialect.PostgresPlusDialect; import org.hibernate.dialect.SQLServer2005Dialect; import org.hibernate.dialect.SQLServer2008Dialect; +import org.hibernate.dialect.SQLServer2012Dialect; import org.hibernate.dialect.SQLServerDialect; import org.hibernate.dialect.SybaseASE15Dialect; import org.hibernate.dialect.SybaseAnywhereDialect; @@ -154,8 +155,9 @@ public class StandardDatabaseInfoDialectResolver implements DatabaseInfoDialectR case 9: return new SQLServer2005Dialect(); case 10: - case 11: return new SQLServer2008Dialect(); + case 11: + return new SQLServer2012Dialect(); default: LOG.unknownSqlServerVersion( majorVersion ); }