[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5179) Criteria Projections.countDistinct() does not work for composite IDs or components for some dialects