首页 > 代码库 > Path expected for join!的解决办法

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,那就换成“,”吧!再试试。

Path expected for join!的解决办法