[hibernate-issues] [JIRA] (HHH-16522) HQL query produces SQL with incorrect ordering of joins