Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFFA210E23 for ; Mon, 12 Aug 2013 20:41:48 +0000 (UTC) Received: (qmail 89019 invoked by uid 500); 12 Aug 2013 20:41:47 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 88998 invoked by uid 500); 12 Aug 2013 20:41:47 -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 88989 invoked by uid 99); 12 Aug 2013 20:41:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 20:41:47 +0000 Date: Mon, 12 Aug 2013 20:41:47 +0000 (UTC) From: "Austin Dorenkamp (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OPENJPA-2366) provide option to exclude schema name from generated @Table annotation for generated entities MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-2366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Austin Dorenkamp updated OPENJPA-2366: -------------------------------------- Attachment: OPENJPA-2366doc-3.patch OPENJPA-2366-3.patch The updated patches have just been attached. In this comment I will briefly walk through the changes: ~TestUseSchemaElement (TUSE) is a new class that test my changes ~ReverseMappingTool (RMT) contains the majority of the changes - including initially setting the UseSchemaElement (USE) flag. From the RMT class, the USE flag is stored in the ClassMetaData object where it is eventually retrieved from Annotation/XMLPersistenceMetaDataSerializer (where it is stored) by the Annotation/XMLPersistenceMappingSerializer. ~FieldMetaData is a class that the comments in CMD said to update with any changes to CMD ~ReverseMappingToolTask was updated to mirror changes to RMT ~persistence.xml was updated to enable the use of a local derby database in TUSE > provide option to exclude schema name from generated @Table annotation for generated entities > --------------------------------------------------------------------------------------------- > > Key: OPENJPA-2366 > URL: https://issues.apache.org/jira/browse/OPENJPA-2366 > Project: OpenJPA > Issue Type: New Feature > Components: jpa > Affects Versions: 2.2.0, 2.2.1 > Reporter: John Mysak > Assignee: Austin Dorenkamp > Priority: Minor > Attachments: OPENJPA-2366-3.patch, OPENJPA-2366doc-3.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > Feature request: > Provide an option for org.apache.openjpa.jdbc.meta.ReverseMappingTool that will exclude the schema name for the @Table annotation on generated entities. For example, if the schema name is not required and needs to be dynamically specified at deployment time via openjpa.jdbc.Schema. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira