Hibernate ORM HHH-2772 with-clause stopped working