[hibernate-issues] [JIRA] (HHH-11704) SubQuery in select clause with join with main table create wrong SQL