[hibernate-issues] [Hibernate-JIRA] (HHH-6627) SQLServer2008Dialect Bad Query