Uploaded image for project: 'jUDDI (Retired)'
  1. jUDDI (Retired)
  2. JUDDI-275

select distinct issues -> use group by

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0beta
    • 3.0rc1
    • core
    • None

    Description

      When we do searches for BusinessEntities, BindingTemplates, Services and
      TModels we sort by name. However the name is not in the
      business_entity table, but rather in the business_name, because multiple
      business names can be given (for different locales). In the code we
      select the business entity and then try to sort by name. Some dbs think
      this is ok, but in fact most of them do not like it (including Derby).
      You get an error which is explained pretty well in this article:
      http://weblogs.sqlteam.com/jeffs/archive/2007/12/13/select-distinct-order-by-error.aspx

      Weshould fix this by not doing a "select distinct" but rather doing a
      "group by".

      Attachments

        Issue Links

          Activity

            People

              kurtstam Kurt T Stam
              kurtstam Kurt T Stam
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: