Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 50372 invoked from network); 3 Jan 2006 20:02:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jan 2006 20:02:24 -0000 Received: (qmail 81095 invoked by uid 500); 3 Jan 2006 20:02:24 -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 81084 invoked by uid 99); 3 Jan 2006 20:02:24 -0000 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, 03 Jan 2006 12:02:22 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6173EE0 for ; Tue, 3 Jan 2006 21:02:01 +0100 (CET) Message-ID: <198019841.1136318521395.JavaMail.jira@ajax.apache.org> Date: Tue, 3 Jan 2006 21:02:01 +0100 (CET) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-271) SingleStringQuery has a query accessing a field in a subclass In-Reply-To: <578250023.1136317920754.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-271?page=comments#action_12361668 ] Andy Jefferson commented on JDO-271: ------------------------------------ Also Grouping.testPositive has access to "salary" for Employee. Also VariablesAndFields.testPositive has access to "team" when using a candidate class of Person. > SingleStringQuery has a query accessing a field in a subclass > ------------------------------------------------------------- > > Key: JDO-271 > URL: http://issues.apache.org/jira/browse/JDO-271 > Project: JDO > Type: Bug > Components: tck20 > Reporter: Andy Jefferson > Assignee: Michael Bouschen > > Bug JDO-270 was raised against JPOX for not detecting accesses to fields in subclasses, saying that it should raise an exception when it encounters such things. In which case can we please have the test SingleStringQuery fixed since it tries to access "salary" when using a candidate class of Person, which has no such "salary" (which is on FullTimeEmployee), or "projects" for that matter. Maybe change the candidate to FullTimeEmployee ? -- 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