【发布时间】:2012-10-10 20:06:31
【问题描述】:
我正在尝试确保 hibernate 3.2.1 中的 EJBQL 功能支持以下功能,但我的 google-fu 失败了。 我只发现 EJB 2.x 不支持嵌套查询
我可以在这样的查询中添加查询吗:
select count(*) from
(select myField from myTable group by myField having sum(case.....) ....... )
【问题讨论】: