+1 ------其他解决方案-------------------- 该回复于2011-03-22 16:01:50被版主删除 ------其他解决方案-------------------- 悲剧了,改成 from Aa a left join Bb b on b.aId = a.id
还是报错 ------其他解决方案-------------------- mapping里面如何配,能给个例子吗? ------其他解决方案-------------------- 我也出现一个连接问题,现在不知道怎么解决,
select a.name,a.jobnum,a.password,b.name,a.id,a.status,a.role_id,c.rolename from (Teacher a a left outer join Department b on a.department_id=b.id )left outer join Role c on c.id=a.role_id where a.status=1 order by a.id desc
Oracle 可以用,HQL居然报ERROR - line 1:82: unexpected token: (
求解脱啊