Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 97778 invoked from network); 20 Sep 2007 14:38:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2007 14:38:53 -0000 Received: (qmail 27475 invoked by uid 500); 20 Sep 2007 14:38:44 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 27464 invoked by uid 99); 20 Sep 2007 14:38:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 07:38:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 14:38:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 82BB7714209 for ; Thu, 20 Sep 2007 07:38:31 -0700 (PDT) Message-ID: <3941401.1190299111532.JavaMail.jira@brutus> Date: Thu, 20 Sep 2007 07:38:31 -0700 (PDT) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-529) ChangeQuery - DISTINCT is expected even though it is not specified In-Reply-To: <23403089.1189966052340.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529118 ] Craig Russell commented on JDO-529: ----------------------------------- I agree. > ChangeQuery - DISTINCT is expected even though it is not specified > ------------------------------------------------------------------ > > Key: JDO-529 > URL: https://issues.apache.org/jira/browse/JDO-529 > Project: JDO > Issue Type: Test > Components: tck2 > Reporter: Ilan Kirsh > Assignee: Craig Russell > Fix For: JDO 2 maintenance release 1 > > Attachments: JDO-529-addAscending.patch, jdo-529.patch > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.