读书人

hibernate hql 去反复用法

发布时间: 2012-10-30 16:13:36 作者: rapoo

hibernate hql 去重复用法
hibernate hql中去重复的方法是用distinct,用法就是加在select之后,
比如

select distinct new Person(id,name,sex)


读书人网 >Web前端

热点推荐