[jira] [Updated] (OFBIZ-5701) Bug SQL Count Distinct command in GenericDAO.java
[ https://issues.apache.org/jira/browse/OFBIZ-5701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacopo Cappellato updated OFBIZ-5701: - Fix Version/s: (was: 16.11.04) (was: Release Branch 15.12) (was: Release Branch 14.12) (was: Release Branch 13.07) > 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, 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.4.14#64029)
[jira] [Updated] (OFBIZ-5701) Bug SQL Count Distinct command in GenericDAO.java
[ https://issues.apache.org/jira/browse/OFBIZ-5701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-5701: --- Attachment: GenericDAO.java.patch Updated patch > 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, 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.4.14#64029)