From jdo-dev-return-5856-apmail-db-jdo-dev-archive=www.apache.org@db.apache.org Wed Jun 20 18:58:52 2007 Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 62558 invoked from network); 20 Jun 2007 18:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 18:58:50 -0000 Received: (qmail 91069 invoked by uid 500); 20 Jun 2007 18:58:52 -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 90742 invoked by uid 99); 20 Jun 2007 18:58:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 11:58:51 -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; Wed, 20 Jun 2007 11:58:47 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E43FE7141E2 for ; Wed, 20 Jun 2007 11:58:26 -0700 (PDT) Message-ID: <23663371.1182365906932.JavaMail.jira@brutus> Date: Wed, 20 Jun 2007 11:58:26 -0700 (PDT) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-403) JDO2 Annotations In-Reply-To: <27400996.1153995313858.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506634 ] Craig Russell commented on JDO-403: ----------------------------------- > On the JPOX annotations doc page http://www.jpox.org/docs/1_2/jdo/annotations.html, the examples for Table, JoinTable, and Secondary table all use name="tablename", but the actual attribute is table. Maybe this is just a bug in the doc, but maybe it really would be better to call the attribute name as with @Column(name="columnname"), @Query(name="queryname"), and many others. I like the idea of using the name element for the name of the annotation. So for Table, I think name is better. I'm still working through the join and secondary table issues since these are not straightforward mappings from the xml. > JDO2 Annotations > ---------------- > > Key: JDO-403 > URL: https://issues.apache.org/jira/browse/JDO-403 > Project: JDO > Issue Type: New Feature > Components: api2 > Affects Versions: JDO 2 final > Reporter: Andy Jefferson > Assignee: Michelle Caisse > Fix For: JDO 2 maintenance release 1 > > Attachments: jdo_2_1_annotations.jar > > > It would be desirable for JDO2 to have its own set of annotations. We have developed a set within JPOX that would likely serve as a starting point for such a set. In my opinion they should be > 1. Split into javax.jdo.annotations.jdo and javax.jdo.annotations.orm > 2. Move ORM attributes from some of the JDO annotations and have a ORM annotation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.