Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 66963 invoked from network); 24 Jun 2005 11:03:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jun 2005 11:03:30 -0000 Received: (qmail 95275 invoked by uid 500); 24 Jun 2005 11:03:30 -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 95262 invoked by uid 99); 24 Jun 2005 11:03:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2005 04:03:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [81.174.133.99] (HELO roobarb.ajsoft.net) (81.174.133.99) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jun 2005 04:03:30 -0700 Received: from roobarb.ajsoft.net (roobarb.ajsoft.net [127.0.0.1]) by roobarb.ajsoft.net (Postfix) with ESMTP id E70451126A for ; Fri, 24 Jun 2005 12:03:23 +0100 (BST) From: Andy Jefferson To: jdo-dev@db.apache.org Subject: Re: TestRunner remarks Date: Fri, 24 Jun 2005 12:03:22 +0100 User-Agent: KMail/1.7.2 References: <42B73803.2030909@spree.de> <42BB2D20.8060902@sun.com> <42BBE77C.2020707@spree.de> In-Reply-To: <42BBE77C.2020707@spree.de> Organization: JPOX MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506241203.22758.andy@jpox.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > However, I have a question: > > The property "org.jpox.identifier.defaultSchemaName" is passed as system > property. This is good because the default schema depends on the > identity type. However, there are a number of other JPOX properties > which are passed as java.util.Properties. Should we document somewhere > that the default schema name property is passed as system property? Three comments :- 1. You should be using "javax.jdo.mapping.Schema" (and javax.jdo.mapping.Catalog) and not this JPOX-specific property (as I mentioned on the JPOX Forum thread about it that Michelle raised). Michelle, the reason you were not seeing any effect before was *because* you were passing this in as a system property and not using the JDO method of PMF property. I added that as an accepted System property yesterday in JPOX CVS. 2. I don't remember seeing anything in the JDO spec about accepting PMF props as System props (ok, JPOX supports it for many properties, but that is an extension IIRC and you can't rely on it for other impls). Correct me if I'm wrong (with a reference to the section of the JDO2 spec that defines it). 3. As I also mentioned on the JPOX Forum thread, your schema name should be in UPPERCASE if you want schema validation to work (Derby accepts UPPERCASE identifiers - it only accepts mixed case if they are quoted, and we don't support validation of mixed case quoted at the moment either). -- Andy Java Persistent Objects - JPOX