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/05/13 19:31:17

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
望采纳