expecting CLOSE, found 'null' near line 1 colum 110
错误信息如下:
Caused by: line 1:188: expecting CLOSE, found 'null'
org.hibernate.hql.ast.QuerySyntaxException: expecting CLOSE, found 'null' near line 1, column 188 [select distinct(a.infoId) from com.ver.entity.Info a where a.demId in ( select fun2.demandinfoId from com.ver.entity.Info b where b.id in (271)
原因:hql语句少了一个')',hibernate在转换的时候报错。