[hibernate-issues] [JIRA] (HHH-16396) HQL with SubQuery having same alias of root Query generates wrong SQL