Skip to content

Commit

Permalink
Default to new SQLServer2016Dialect
Browse files Browse the repository at this point in the history
`Dialects#guessDialect()` should default to the latest version for every dialect.
  • Loading branch information
knutwannheden committed Sep 21, 2021
1 parent 9458451 commit e88386b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static String guessDialect(String persistenceUnitName, String resolvedDbK
return "org.hibernate.dialect.DerbyTenSevenDialect";
}
if (DatabaseKind.isMsSQL(resolvedDbKind)) {
return "org.hibernate.dialect.SQLServer2012Dialect";
return "org.hibernate.dialect.SQLServer2016Dialect";
}

String error = "Hibernate extension could not guess the dialect from the database kind '" + resolvedDbKind
Expand Down

0 comments on commit e88386b

Please sign in to comment.