Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-529

ChangeQuery - DISTINCT is expected even though it is not specified

    XMLWordPrintableJSON

Details

    Description

      Test org.apache.jdo.tck.query.api.ChangeQuery expects 3 result objects:

      List expectedResult = Arrays.asList(new Object[]

      { new FullName("emp1First", "emp1Last"), new FullName("emp2First", "emp2Last"), new FullName("emp5First", "emp5Last")}

      );

      But actually there should be 4 result objects:

      List expectedResult = Arrays.asList(new Object[]

      { new FullName("emp1First", "emp1Last"), new FullName("emp2First", "emp2Last"), new FullName("emp2First", "emp2Last"), new FullName("emp5First", "emp5Last")}

      );

      because the result is not specified as DISTINCT.

      Attachments

        1. jdo-529.patch
          3 kB
          Craig L Russell
        2. JDO-529-addAscending.patch
          2 kB
          Michael Bouschen

        Activity

          People

            clr Craig L Russell
            kirsh Ilan Kirsh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: