[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3546) invalid sql when using projection and restriction