HQL unexpected AST node: {vector}
问题 I'm trying to write an HQL query to grab a list of users that belong to a particular organisation, or any franchisee from a list of franchisees, however hibernate isn't able to parse it. I can't figure out why. Here is the HQL: from User u where (u.parentOrganisation = :topLevelOrganisation or u.parentOrganisation in :franchisees) and u.parentOrganisation.deleted = false and u.active = true This is the error that hibernate spits out: unexpected AST node: {vector} [from com.myapp.User u where