JDO
  1. JDO
  2. JDO-529

ChangeQuery - DISTINCT is expected even though it is not specified

    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.

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

        Activity

        Ilan Kirsh created issue -
        Craig L Russell made changes -
        Field Original Value New Value
        Attachment jdo-529.patch [ 12366105 ]
        Craig L Russell made changes -
        Attachment jdo-529.patch [ 12366111 ]
        Craig L Russell made changes -
        Attachment jdo-529.patch [ 12366105 ]
        Craig L Russell made changes -
        Assignee Craig Russell [ clr ]
        Fix Version/s JDO 2 maintenance release 1 [ 12310923 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Michael Bouschen made changes -
        Attachment JDO-529-addAscending.patch [ 12366279 ]
        Andy Jefferson made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Craig L Russell
            Reporter:
            Ilan Kirsh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development