Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 49477 invoked from network); 26 Jul 2006 07:53:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jul 2006 07:53:00 -0000 Received: (qmail 11357 invoked by uid 500); 26 Jul 2006 07:53:00 -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 11346 invoked by uid 99); 26 Jul 2006 07:53:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 00:53:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [195.243.100.246] (HELO mail.versant.net) (195.243.100.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jul 2006 00:52:59 -0700 Received: from [192.168.9.3] (helo=hamburg1.versant.net) by fwhh.versant.net with esmtp (Exim 4.43) id 1G5eBz-00073K-CR; Wed, 26 Jul 2006 09:52:31 +0200 Received: from [192.168.10.71] ([192.168.10.71]) by hamburg1.versant.net (Lotus Domino Release 6.5.4) with ESMTP id 2006072609523127-34289 ; Wed, 26 Jul 2006 09:52:31 +0200 Message-ID: <44C71F3F.1010705@versant.com> Date: Wed, 26 Jul 2006 09:52:31 +0200 From: Christian Ernst User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en, de-de MIME-Version: 1.0 To: Craig L Russell CC: JDO Expert Group , Apache JDO project Subject: Re: Advisory: JDO2 Annotation Metadata References: <200607050848.02232.andy@jpox.org> <44C0B5BD.6000706@versant.com> <4D1586C5-AE43-418A-82F1-F9C77F4FA88E@Sun.COM> In-Reply-To: <4D1586C5-AE43-418A-82F1-F9C77F4FA88E@Sun.COM> X-MIMETrack: Itemize by SMTP Server on HAMBURG/SERVER/VERSANT(Release 6.5.4|March 27, 2005) at 07/26/2006 09:52:31 AM, Serialize by Router on HAMBURG/SERVER/VERSANT(Release 6.5.4|March 27, 2005) at 07/26/2006 09:52:31 AM, Serialize complete at 07/26/2006 09:52:31 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Craig L Russell wrote: > Proposal: > > JDO2 will define a complete set of annotations > > Annotations will be declared in two different packages; jdo > annotations would contain only object model metadata, not mapping > metadata: > * javax.jdo.annotation.jdo > * javax.jdo.annotation.orm > > Annotation documentation will focus on mapping between annotations > and the existing xml metadata and will use the identical semantics of > xml metadata > > Compliant implementations that support JDK1.5 will be required to > accept annotated classes' metadata > > If annotated classes are used with xml metadata, xml metadata will > override annotation metadata. > > JDO2 will define interoperability with EJB3/JPA annotations > > Compliant implementations can optionally use @Entity annotations > instead of JDO annotations > > Mapping from EJB3/JPA to JDO will be defined so as to improve > portability of applications from one JDO implementation to others > > If both JDO and EJB3/JPA annotations are used in the same class we > need to choose between: > +1 > * JDO annotations will override EJB3/JPA annotations +1 -- Regards, Christian Ernst Versant GmbH, European Headquarters Wiesenkamp 22b, 22359 Hamburg, Germany +49(40)60990-338, http://www.versant.com (CEST, UTC+2)