hibernate/hibernate-orm — pull request #824 by ulkitz (2014-10-11 19:11:34+00:00)
Title: HHH 9432 Remove where clause from middle entity

As the middle entity contains only the id columns, any where-clause refering to a column of one of the associated tables leads to an sql-error, as the sql refers to an unknown column.
The lines I removed came in with commit ed2d72e492f0fb88f0dbf86440ec098dd675a1d3 to fix [HHH-4633]. But the test described there executes successfully with and without my change.