HHH-8440 added mssql2012 to StandardDatabaseInfoDialectResolver
This commit is contained in:
parent
5981fc19b5
commit
05144811e4
|
@ -47,6 +47,7 @@ import org.hibernate.dialect.PostgreSQL9Dialect;
|
||||||
import org.hibernate.dialect.PostgresPlusDialect;
|
import org.hibernate.dialect.PostgresPlusDialect;
|
||||||
import org.hibernate.dialect.SQLServer2005Dialect;
|
import org.hibernate.dialect.SQLServer2005Dialect;
|
||||||
import org.hibernate.dialect.SQLServer2008Dialect;
|
import org.hibernate.dialect.SQLServer2008Dialect;
|
||||||
|
import org.hibernate.dialect.SQLServer2012Dialect;
|
||||||
import org.hibernate.dialect.SQLServerDialect;
|
import org.hibernate.dialect.SQLServerDialect;
|
||||||
import org.hibernate.dialect.SybaseASE15Dialect;
|
import org.hibernate.dialect.SybaseASE15Dialect;
|
||||||
import org.hibernate.dialect.SybaseAnywhereDialect;
|
import org.hibernate.dialect.SybaseAnywhereDialect;
|
||||||
|
@ -154,8 +155,9 @@ public class StandardDatabaseInfoDialectResolver implements DatabaseInfoDialectR
|
||||||
case 9:
|
case 9:
|
||||||
return new SQLServer2005Dialect();
|
return new SQLServer2005Dialect();
|
||||||
case 10:
|
case 10:
|
||||||
case 11:
|
|
||||||
return new SQLServer2008Dialect();
|
return new SQLServer2008Dialect();
|
||||||
|
case 11:
|
||||||
|
return new SQLServer2012Dialect();
|
||||||
default:
|
default:
|
||||||
LOG.unknownSqlServerVersion( majorVersion );
|
LOG.unknownSqlServerVersion( majorVersion );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue