I'm trying to use count of collection-valued attribute on having clause. Like this:
count (.) is not a valid expression. So I get errors like this
Please advise how to fix or work around this issue. Thanks advance!
reproduced with hibernate 4.3., 5.4.
PR created at: . You can work around the issue before a new Hibernate release by patching the code changes in the PR to DotNode class exclusively.