[hibernate-issues] [JIRA] (HHH-11435) Using relations in WITH clause generates invalid SQL