org.hibernate.hql.ast.QuerySyntaxException: unexpe

下面是我程序抛出的异常:
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]
关健地方在这里: e.intoPrison.jyDistrict.id
这里是三个表的关联。我以前记得斗可以直接这样把对象给取出来的。
难道现在不支持。希望能得到大哥哥门的点拔。谢谢

你可能感兴趣的:(Hibernate)