select DISTINCT(A) from A left join A.b where A.id=?
HQL去重操作 Hibernate的一对多查询及去掉重复的对象distinct 去除重复对象
猜你喜欢
转载自blog.csdn.net/qq_22062405/article/details/103687382
今日推荐
周排行