如何用HQL或JPQL编写?

时间:2015-06-27 08:58:23

标签: hql jpql

嗨,我是新的JPA和Hibernate概念。任何人都可以帮我写我所请求查询的HQL或JPQL。

例如:

select count(*) from (select count(u.email) from USER u where u.id='123' group by u.email having count(u.email) > 1);

0 个答案:

没有答案