【发布时间】:2014-02-22 05:48:35
【问题描述】:
我有一个子查询
select *
from Employee
where employeeId in (
select employeeId
from dept as x
where x.name ='Dept1'
and x.category ='category1'
and x.employeeId IN (
select employeeId
from dept as x
where x.name ='Dept2'
and x.category ='category2'))
我想选择返回列表作为员工 POJO 对象。
我正在使用休眠。
谢谢
【问题讨论】:
-
是的。问题是什么?你的右括号在哪里?