67,538
社区成员
发帖
与我相关
我的任务
分享
String selectClickA = "from Article a join fetch a.user " +
"join fetch a.sort join fetch a.leavewordset l " +
"join fetch l.user where a.aid=?";
List<Article> articleList = this.getHibernateTemplate().find(selectClickA,aid);
System.out.println(articleList.size()==0);
article = articleList.get(0);
return article;