[hibernate-issues] [JIRA] (HHH-11042) Cannot count distinct on SQL Server on embedded ids