Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5701

Bug SQL Count Distinct command in GenericDAO.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • framework
    • None
    • Bug Crush Event - 21/2/2015

    Description

      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

      Attachments

        1. SQLDistinctGenericDAO.diff
          3 kB
          kieuanhvu
        2. SQLDistinctGenericDAO.diff
          3 kB
          kieuanhvu
        3. GenericDAO.java.patch
          3 kB
          Jacques Le Roux
        4. GenericDAO.java.patch
          4 kB
          Jacques Le Roux

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kieuanhvu kieuanhvu
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: