You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2018/05/28 07:14:00 UTC
[jira] [Commented] (OFBIZ-9890) Having condition is ignored on
queryList() and queryFirst() calls in EntityQuery
[ https://issues.apache.org/jira/browse/OFBIZ-9890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492345#comment-16492345 ]
Jacques Le Roux commented on OFBIZ-9890:
----------------------------------------
Hi Gareth,
Have you, or do you expect to provide, a patch for this issue?
> 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: Minor
>
> 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
(v7.6.3#76005)