【发布时间】:2018-01-25 09:36:25
【问题描述】:
如何使用标准和投影在休眠中实现以下代码:
select CUSTOMER_NO,count(*) as max_count
from table
group by CUSTOMER_NO
having count(*) in
(
select
max(count)
from
(
select count(*) as count,CUSTOMER_NO
from table
group by CUSTOMER_NO
) t1
)
【问题讨论】:
标签: hibernate projection hibernate-criteria