liuguangj的博客就是有四个对象A,B,C,D hibernate语句是 select a.name,a.bname,a.cname,a.dname a.anumber,b.number from (select count(A.tpid) anumber,A.name,B.bname,C.cname,D.dname where A.id=B.id and A.uerid=c.uerid...
mlzboy的博客我的问题存在一个无级分类树中,因为对HQL语句不熟悉,所以想请 实际的sql语句如下: select * from DictionaryLib where fk_dictionary_lib_parent_id is null and fk_dictionary_id=1 我尝试在createsqlquery中写...
iteye_7649的博客我在开发过程中,使用hql进行查询(mysql5)使用到了mysql自带的函数find_in_set()这个函数作为匹配字符串的来讲效率非常好,但是我直接把它写在hql语句里面(from ForumMemberInfo fm,ForumArea fa where find_in_...