[
https://issues.apache.org/jira/browse/OFBIZ-5701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099626#comment-14099626
]
Jacques Le Roux edited comment on OFBIZ-5701 at 8/16/14 12:30 PM:
------------------------------------------------------------------
If you and I have done things correctly this would be your patch. Just C/Pasted
your patch and done by hand, no tests nor any thinking so far...
was (Author: jacques.le.roux):
If you and I have done things correctly this would be your patch. Just C/Pasted
your patch and done by hand, no tests so far nor any thinking so far...
> Bug SQL Count Distinct command in GenericDAO.java
> --------------------------------------------------
>
> Key: OFBIZ-5701
> URL: https://issues.apache.org/jira/browse/OFBIZ-5701
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: kieuanhvu
> Attachments: GenericDAO.java.patch, SQLDistinctGenericDAO.diff,
> SQLDistinctGenericDAO.diff
>
>
> I have encounter the problem is: How can ofbiz framework count distinct for
> all selected fields in query function of delegator? Although
> EntityFindOptions.setDistinct(true) and the selected fields are all field,
> the ofbiz framework always count distinct follow only one field.
> I have resolved problem as my attact file
--
This message was sent by Atlassian JIRA
(v6.2#6252)