expecting IDENT, found '*' near line 1, column 10 [select o.* from com.hd123.hdpos4.sys.dao.group.PGroupEntity o, com.hd123.hdpos4.sys.dao.group.PGroupUser u where o.group.uuid = u.group.uuid and u.userId = :userId and o.group.type = :groupType]
这个错误是因为,hql中直接使用对象。所以select 的是对象。加*就错误了
将.*去掉 只用o