hibernate hql 去反复用法

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

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

select distinct new Person(id,name,sex)