[hibernate-issues] [JIRA] (HHH-3038) HQL with subquery that contains join with CollectionOfElements generates SQL missing a table