Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 96978 invoked from network); 14 Mar 2006 22:35:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Mar 2006 22:35:03 -0000 Received: (qmail 90578 invoked by uid 500); 14 Mar 2006 22:35:02 -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 90567 invoked by uid 99); 14 Mar 2006 22:35:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 14:35:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2006 14:35:02 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 57DF7D49FF for ; Tue, 14 Mar 2006 22:34:41 +0000 (GMT) Message-ID: <1680537497.1142375681357.JavaMail.jira@ajax> Date: Tue, 14 Mar 2006 22:34:41 +0000 (GMT) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Resolved: (JDO-320) Add negative query test for projecting a map and collection field to tck20 In-Reply-To: <1206412195.1140907135330.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JDO-320?page=all ] Craig Russell resolved JDO-320: ------------------------------- Resolution: Fixed Fixed with the latest JPOX build. > Add negative query test for projecting a map and collection field to tck20 > -------------------------------------------------------------------------- > > Key: JDO-320 > URL: http://issues.apache.org/jira/browse/JDO-320 > Project: JDO > Type: Test > Components: tck20 > Versions: JDO 2 rc1 > Reporter: Michael Bouschen > Assignee: Erik Bengtson > Fix For: JDO 2 final > Attachments: JDO-320.patch > > The latest version of the JDO spec disallows JDOQL queries projecting a collection or map field, e.g. > SELECT p.phoneNumbers FROM org.apache.jdo.tck.pc.company.Person p > SELECT d.employees FROM org.apache.jdo.tck.pc.company.Department d > We should add a test method running the above queries which should result in a JDOException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira