Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 60366 invoked from network); 17 Jul 2009 20:57:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jul 2009 20:57:32 -0000 Received: (qmail 57237 invoked by uid 500); 17 Jul 2009 20:58:37 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 57169 invoked by uid 500); 17 Jul 2009 20:58:37 -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 57159 invoked by uid 99); 17 Jul 2009 20:58:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2009 20:58:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Fri, 17 Jul 2009 20:58:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E3E0D234C044 for ; Fri, 17 Jul 2009 13:58:14 -0700 (PDT) Message-ID: <139936040.1247864294920.JavaMail.jira@brutus> Date: Fri, 17 Jul 2009 13:58:14 -0700 (PDT) From: "Pinaki Poddar (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-1181) Metamodel Generation must be more selective and controllable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Metamodel Generation must be more selective and controllable ------------------------------------------------------------ Key: OPENJPA-1181 URL: https://issues.apache.org/jira/browse/OPENJPA-1181 Project: OpenJPA Issue Type: New Feature Components: jpa Reporter: Pinaki Poddar Assignee: Pinaki Poddar JPA 2.0 specifies canonical memtamodel classes for persistent entities. Currently this generation process is uncontrolled. Every time the compiler is invoked with $ java -processor openjpa.AnnotationProcessor6 my.PObject we generate my.PObject_.java. We should be able to control this process. In fact, current limitation of being non-selective stops us from activating the service discovery mechanism. One suggestion (by Jeremy) is to add a annotation attribute in the @Entity class. Another suggestion (by Albert) is to bring this generation process closer to PCEnhancer. Can we also make use of the has @Generated annotation timestamp in PObject_.java to make some decisions? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.