Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 29220 invoked from network); 12 Oct 2007 14:07:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2007 14:07:07 -0000 Received: (qmail 16995 invoked by uid 500); 12 Oct 2007 14:06:29 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 16966 invoked by uid 500); 12 Oct 2007 14:06:29 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 16951 invoked by uid 99); 12 Oct 2007 14:06:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 07:06:29 -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; Fri, 12 Oct 2007 14:06:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 922977141F1 for ; Fri, 12 Oct 2007 07:05:50 -0700 (PDT) Message-ID: <14957709.1192197950595.JavaMail.jira@brutus> Date: Fri, 12 Oct 2007 07:05:50 -0700 (PDT) From: "Tom Mutdosch (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-400) schema defined in the orm.xml's persistence-unit-defaults is not honored MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org schema defined in the orm.xml's persistence-unit-defaults is not honored ------------------------------------------------------------------------ Key: OPENJPA-400 URL: https://issues.apache.org/jira/browse/OPENJPA-400 Project: OpenJPA Issue Type: Bug Components: jpa Reporter: Tom Mutdosch I have a number of entities that were generated from a connection using a non-default schema. I am trying to specify the default schema to use for all of my entities (these entities are Java-annotated classes). In my orm.xml I specified: ADMINISTRATOR As per the spec, it seems that all of my entities should use this defined schema, unless they override it. However, this does not seem to have any effect and at runtime, queries are generated that are still trying to use the default schema (the username). If I instead use the openjpa property to set the schema in my persistence.xml: This works fine. But it is not very portable, which is why I was trying to do this in the orm.xml. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.