[ https://issues.apache.org/jira/browse/OFBIZ-5701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092648#comment-14092648 ]
Jacques Le Roux commented on OFBIZ-5701: ---------------------------------------- It seems you did not get my point. For an unknow reason (to me) this patch is not valid. It seems so far you only replaced tabs by 4 spaces but did not fix the reason applying the patch does not work. I still get the same issue than above. You can try the same by checking out a fresh copy of the trunk and applying your patch on it usin "patch -p1 < SQLDistinctGenericDAO.diff" > 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 > Priority: Critical > Attachments: 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)