Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 72235 invoked from network); 11 Mar 2006 19:25:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Mar 2006 19:25:16 -0000 Received: (qmail 25654 invoked by uid 500); 11 Mar 2006 19:25:15 -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 25643 invoked by uid 99); 11 Mar 2006 19:25:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Mar 2006 11:25:15 -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; Sat, 11 Mar 2006 11:25:14 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 140A7D49FC for ; Sat, 11 Mar 2006 19:24:54 +0000 (GMT) Message-ID: <1047168740.1142105094079.JavaMail.jira@ajax> Date: Sat, 11 Mar 2006 19:24:54 +0000 (GMT) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Created: (JDO-336) JPOX metadata query defaults unmodifiable to true; the default should be false 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 JPOX metadata query defaults unmodifiable to true; the default should be false ------------------------------------------------------------------------------ Key: JDO-336 URL: http://issues.apache.org/jira/browse/JDO-336 Project: JDO Type: Bug Components: tck20 Versions: JDO 2 rc1 Environment: JPOX Reporter: Craig Russell Assigned to: Erik Bengtson Fix For: JDO 2 final The default for the unmodifiable attribute in queries defined in metadata is false. It was true during early development of the specification. This causes: [java] 1) testPositive(org.apache.jdo.tck.query.api.ChangeQuery)javax.jdo.JDOUserException: This query is in an unmodifiable state. It's structure cannot be changed [java] at org.jpox.store.query.Query.assertIsUnmodifiable(Query.java:703) [java] at org.jpox.store.query.Query.setResult(Query.java:600) [java] at org.apache.jdo.tck.query.api.ChangeQuery.testPositive(ChangeQuery.java:64) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:216) [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:120) [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:95) -- 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