Fight With Me!!!

导航

Path expected for join!的解决办法

Path expected for join! [SELECT count(*) FROM  cn.com.jsoft.entities.TDSysnphoto p left join TDSysnotice s where p.snid = s.id]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: Path expected for join! [SELECT count(*) FROM  cn.com.jsoft.entities.TDSysnphoto p left join TDSysnotice s where p.snid = s.id]  

  hibernate貌似不认识join,那就换成“,”吧!再试试。

posted on 2017-05-10 13:30  nickTimer  阅读(1952)  评论(0编辑  收藏  举报