From dev-return-15891-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Tue Mar 23 18:32:51 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 2811 invoked from network); 23 Mar 2010 18:32:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 18:32:51 -0000 Received: (qmail 16787 invoked by uid 500); 23 Mar 2010 18:32:51 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 16744 invoked by uid 500); 23 Mar 2010 18:32:51 -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 16596 invoked by uid 99); 23 Mar 2010 18:32:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 18:32:51 +0000 X-ASF-Spam-Status: No, hits=-1109.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 18:32:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A296B234C4BC for ; Tue, 23 Mar 2010 18:32:29 +0000 (UTC) Message-ID: <1167360416.439781269369149664.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 18:32:29 +0000 (UTC) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1492) Change access on ReverseMappingTool#getAnnotationsForMeta(Object) from private to public In-Reply-To: <841306905.2461265049979724.JavaMail.jira@brutus.apache.org> 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-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-1492: ---------------------------------- Fix Version/s: (was: 2.0.0) 2.0.0-beta3 > Change access on ReverseMappingTool#getAnnotationsForMeta(Object) from private to public > ---------------------------------------------------------------------------------------- > > Key: OPENJPA-1492 > URL: https://issues.apache.org/jira/browse/OPENJPA-1492 > Project: OpenJPA > Issue Type: Improvement > Components: tooling > Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 2.0.0-M1, 2.0.0-M2, 2.0.0-M3, 2.0.0-beta > Reporter: Laird Nelson > Assignee: Donald Woods > Fix For: 1.3.0, 2.0.0-beta3 > > > Because of two other related bugs, it is impossible to have the ReverseMappingTool output Java code that is annotated properly. > The easiest way to work around the two related bugs would be for the ReverseCustomizer supplier to return code from its methods like getClassCode(). But if you do this, you need the ability to have OpenJPA hand you the annotations it has determined are necessary. Those annotations are currently present in the ReverseMappingTool#_annos field, which is accessed by the currently private getAnnotationsForMeta(Object) method. > Moving the access level of this method to public would allow a great deal of flexibility in ReverseCustomizer implementations. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.