下面是我程序抛出的异常:
[b]org.hibernate.hql.ast.QuerySyntaxException: unexpected token: c7440e9011c744232b80001 near line 1, column 99 [from com.prison.out_prison.model.MovePrison e where 1=1 and e.intoPrison.jyDistrict.id = 402880941c7440e9011c744232b80001 order by e.begindate desc][/b]
关健地方在这里:[color=red]e.intoPrison.jyDistrict.id[/color]
这里是三个表的关联。我以前记得斗可以直接这样把对象给取出来的。
难道现在不支持。希望能得到大哥哥门的点拔。谢谢
[b]org.hibernate.hql.ast.QuerySyntaxException: unexpected token: c7440e9011c744232b80001 near line 1, column 99 [from com.prison.out_prison.model.MovePrison e where 1=1 and e.intoPrison.jyDistrict.id = 402880941c7440e9011c744232b80001 order by e.begindate desc][/b]
关健地方在这里:[color=red]e.intoPrison.jyDistrict.id[/color]
这里是三个表的关联。我以前记得斗可以直接这样把对象给取出来的。
难道现在不支持。希望能得到大哥哥门的点拔。谢谢