hibernate的QBC查询 Criteria类分装查询条件,当遇到多主键时怎么关联查询 。查询条件是各自的id,他们的主键也是id,关系为多对多。求解!!急!!users表 id name  users_dept中间表 user_id dept_id(多主键)根据dept_id查询users