6
是否可以創建一個'select in-query'與hibernate critiria api?休眠條件api'選入'
例子: 我有一個1兩個表:N的關係,公司和部門
select * from company c where c.id in (select company_id from department d
where d.departmentname = 'HR' and d.location = 'xyz')