[hibernate-issues] [JIRA] (HHH-16595) Different SQL queries for @ManyToMany relationships in Hibernate 5 and 6