[hibernate-issues] [JIRA] (HHH-10508) Selecting a joined element collection produces wrong SQL