[
https://issues.apache.org/jira/browse/OFBIZ-9890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16224621#comment-16224621
]
Gareth Carter commented on OFBIZ-9890:
--------------------------------------
I put this as bug because it relates to EntityQuery only. It should either call
a method from the delegator object that allows a having condition or throw an
error stating queryList/queryFirst is unsupported with a having condition
> 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
> Assignee: Prakhar Kumar
> 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)