[jira] [Created] (OFBIZ-9890) Having condition is ignored on queryList() and queryFirst() calls in EntityQuery

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-9890) Having condition is ignored on queryList() and queryFirst() calls in EntityQuery

Nicolas Malin (Jira)
Gareth Carter created OFBIZ-9890:
------------------------------------

             Summary: Having condition is ignored on queryList() and queryFirst() calls in EntityQuery
                 Key: OFBIZ-9890
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9890
             Project: OFBiz
          Issue Type: Bug
          Components: ALL COMPONENTS
    Affects Versions: Trunk
            Reporter: Gareth Carter
            Priority: Critical


queryList() and queryFirst() both call internal private query() method. This method calls delegator.findList if a normal Entity/ViewEntity is used (not a DVE). This has no option to include a having condition and so must opt to use queryIterator(). Even queryCount() can use a having condition



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)