EntityQuery (OFBIZ-9890) queryList() and queryFirst() both call internal private query() method. This method calls delegator.findList if a normal Entity/ViewEntity is used (not a DVE). DVE has no option to include a having condition and so must opt to use queryIterator(). Even queryCount() can use a having condition. Thanks: Rupert Howell and Gareth Carter for report, Prakhar Kumar for discussion and Gareth Carter for the fix git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1849693 13f79535-47bb-0310-9956-ffa450edef68