[hibernate-issues] [Hibernate-JIRA] (HHH-7824) All MySQL5 dialects generate incorrect sql when multiple tables in where clause