【发布时间】:2016-05-26 13:24:12
【问题描述】:
我有两个没有任何关系的表,我想写HQL来得到结果,下面是我的HQL查询
SELECT P.prcCatIdNo ,P.prcClsCd ,
P.prcTypCd ,P.catIdNm ,P.boxQty ,P.prcUmAbr ,P.sellPrc
FROM Table1 P LEFT OUTER JOIN Table2 L ON P.prcCatIdNo = L.ident
但我得到以下异常
org.hibernate.hql.ast.QuerySyntaxException: Path expected for join!
谁能帮帮我。
【问题讨论】: