[hibernate-issues] [JIRA] (HHH-8290) Query translator generates an incorrect query with SELECT distinct + Order by + Implicit join