SSH怎么使用外连接.right join,left joinCaused by:org.hibernate.hql.ast.QuerySyntaxException:Path expected for join![from com.eskytech.budget.dept.vo.BDeptLeaderMappingImpl a right join SysOrgVOImpl b where a.deptCode=orgId and a.compCode='

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/23 12:11:49
SSH怎么使用外连接.rightjoin,leftjoinCausedby:org.hibernate.hql.ast.QuerySyntaxException:Pathexpectedforjoin

SSH怎么使用外连接.right join,left joinCaused by:org.hibernate.hql.ast.QuerySyntaxException:Path expected for join![from com.eskytech.budget.dept.vo.BDeptLeaderMappingImpl a right join SysOrgVOImpl b where a.deptCode=orgId and a.compCode='
SSH怎么使用外连接.right join,left join

Caused by:org.hibernate.hql.ast.QuerySyntaxException:Path expected for join![from com.eskytech.budget.dept.vo.BDeptLeaderMappingImpl a right join SysOrgVOImpl b where a.deptCode=orgId and  a.compCode='01' ]

SSH怎么使用外连接.right join,left joinCaused by:org.hibernate.hql.ast.QuerySyntaxException:Path expected for join![from com.eskytech.budget.dept.vo.BDeptLeaderMappingImpl a right join SysOrgVOImpl b where a.deptCode=orgId and a.compCode='
把where 改成on就行 因为join on是一个语句 意思是根据on后的条件 外连接
BDeptLeaderMappingImpl a right join SysOrgVOImpl b [on] a.deptCode=orgId
望采纳