[hibernate-issues] [JIRA] (HHH-3813) Automatic flush to the join table before a criteria query