2017年的Hibernate Dialect版本MSSQL

Tot*_*Tot 3 sql-server hibernate spring-mvc

我是MSSQL Hibernate的新手,以前与Spring和hibernate的MySQL实现一起工作。

我看到以下受支持的列表:

org.hibernate.dialect.SQLServerDialect
org.hibernate.dialect.SQLServer2005Dialect
org.hibernate.dialect.SQLServer2008Dialect
org.hibernate.dialect.SQLServer2012Dialect
Run Code Online (Sandbox Code Playgroud)

我找不到对最新版本的2017 MSSQL Server的支持。可以使用org.hibernate.dialect.SQLServer2012Dialect?。现在它可以工作,但是我不确定从长远来看它会如何。

请提出建议!

感谢Log.d

小智 8

是的,可以与org.hibernate.dialect.SQLServer2012DialectSQL Server 2017 一起使用。据我所知,SQL Server 2012 Dialect是NHibernate对SQLServer的最新支持。

来源:https : //github.com/nhibernate/nhibernate-core/tree/master/src/NHibernate/Dialect