大家帮忙看一下这个hql到底有什么错误???
private static final String LOADctpRuleRouteList="select t1 form CtpRuleRoute as t1, CtpRule as t2 where t2.ctpid= ? and t1.serial >= (select c1.serial form CtpRuleRoute as c1,CtpRule as c2 where c1.rate= ? and c2.ctpid= ? order by c1.routeId ) order by t1.serial ";
包措是说未定义别名:c1,
undefined alias: c1 [select t1 form CtpRuleRout
e as t1, oss.rms.tranlogic.domain.CtpRule as t2 where t2.ctpid= ? and t1.serial
>= (select c1.serial form CtpRuleRoute as c1,oss.rms.tranlogic.domain.CtpRule
as c2 where c1.rate= ? and c2.ctpid= ? order by c1.routeId ) order by t1.serial