antlr.MismatchedTokenException: expecting CLOSE, found 'null'

antlr.MismatchedTokenException: expecting CLOSE, found 'null'
Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: null near line 1, column 335[from actor a where a.latestVersion is not null and a.isPublishing is false and ( a.userId = ? or ( a.fId in ( select y.resourceId from GroupAuthorization y join GroupUsers z on y.groupId = z.groupId where z.userId = ? ) and a.userId <> ? ) ]

上述 hql 语句执行的时候报 antlr.MismatchedTokenException: expecting CLOSE, found 'null' 异常,经检查,语句末端缺少括号,没有正常闭合。

猜你喜欢

转载自blog.csdn.net/haiyoung/article/details/80072317