According to HHH-9575, there may be an issue auto-detecting dialects for earlier versions using SQL Server's JDBC 4.0, but that may only in 3.x.