Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 93479 invoked from network); 12 Jul 2006 20:06:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 20:06:32 -0000 Received: (qmail 4566 invoked by uid 500); 12 Jul 2006 20:06:32 -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 4555 invoked by uid 99); 12 Jul 2006 20:06:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 13:06:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.42.249] (HELO nwkea-pix-1.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 13:06:30 -0700 Received: from d1-sfbay-01.sun.com ([192.18.39.111]) by nwkea-pix-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k6CK69PS022848 for ; Wed, 12 Jul 2006 13:06:09 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-01.sun.com by d1-sfbay-01.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J2B00K013NF3400@d1-sfbay-01.sun.com> (original mail from Craig.Russell@Sun.COM) for jdo-dev@db.apache.org; Wed, 12 Jul 2006 13:06:09 -0700 (PDT) Received: from [129.146.30.171] by d1-sfbay-01.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J2B001523U8WI20@d1-sfbay-01.sun.com> for jdo-dev@db.apache.org; Wed, 12 Jul 2006 13:06:08 -0700 (PDT) Date: Wed, 12 Jul 2006 13:06:01 -0700 From: Craig L Russell Subject: Re: JDO2 Annotations In-reply-to: <20060712200259.15795.qmail@web30803.mail.mud.yahoo.com> Sender: Craig.Russell@Sun.COM To: Apache JDO project Cc: JDO Expert Group Message-id: MIME-version: 1.0 X-Mailer: Apple Mail (2.752.2) Content-type: multipart/signed; protocol="application/pkcs7-signature"; boundary=Apple-Mail-47-481387069; micalg=sha1 References: <20060712200259.15795.qmail@web30803.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-47-481387069 Content-Type: multipart/alternative; boundary=Apple-Mail-46-481386323 --Apple-Mail-46-481386323 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Matthew, With hindsight, do you think that this is the right solution? Any insights from your implementation and usage experience whether it was a good or bad idea? Craig On Jul 12, 2006, at 1:02 PM, Matthew T. Adams wrote: > Xcalia supports option 3, reusing JSRs 220 & 250 annotations and > defining additional ones as necessary. > > --matthew > > ----- Original Message ---- > From: Ilan Kirsh > To: Craig L Russell ; jdo-dev@db.apache.org > Cc: JDO Expert Group > Sent: Wednesday, July 12, 2006 12:06:55 PM > Subject: Re: JDO2 Annotations > > After reviewing Andy's proposal and the relevant page on JPOX website > I vote for: > 2. Define a complete set of annotations - based on JPOX current > work > And IMO, this should be a required feature. > > Ilan > > > ----- Original Message ----- > From: "Craig L Russell" > To: > Cc: > Sent: Wednesday, July 12, 2006 7:36 PM > Subject: Re: JDO2 Annotations > > > Javadogs, > > > > Please take a look at this proposal by Andy. > > > > High order bit: The expert group needs to make a decision whether > to: > > > > 1. Not define any annotations, leaving it up to implementations to > > decide what to do > > > > 2. Define a complete set of annotations > > > > 3. Track JSR 220 and JSR 250 annotations for persistence and mapping > > and add only annotations for JDO that are not already covered by the > > other annotation specifications > > > > Orthogonal to the above, we need to decide whether support of > > annotations for implementations that support JDK 1.5 is required or > > optional. > > > > Craig > > > > On Jul 4, 2006, at 11:48 PM, Andy Jefferson wrote: > > > >>> For information, you can find an initial (top-level) set of > >>> suggested JDO2 > >>> annotations at > >> http://jpox.cvs.sourceforge.net/jpox/JPOX/Plugins/Java5/src/java/ > >> org/jpox/annotations/ > >> > >> Since it's all quiet on annotations I'll provoke further :-) > >> The above link now shows an almost complete set of proposed JDO2 > >> annotations > >> (I changed "PersistentField" to "Field" to match the metadata > >> element). The > >> advantages of matching annotations to metadata element are > >> obvious ... people > >> don't need to relearn the terms they already know from metadata. > >> The only > >> places where I haven't stuck to this are the top-level > >> PersistenceCapable, > >> PersistenceAware annotations (since they make more sense, to me) > >> > >> The only elements missing are Index, ForeignKey, Unique (i'll add > >> these soon), > >> Interface, Property (which are low interest for me) and the > >> recursive aspects > >> of FetchGroup and Embedded (which are restricted due to annotations > >> JDK1.5 > >> design). Needless to say that these are all supported in the latest > >> JPOX > >> nightly builds where you could actually use them interchangeably > >> with your > >> metadata, or JPA annotations, or indeed your own set of annotations > >> if you > >> feel like it. > >> > >> Comments are welcome. Really. > >> > >> > >> -- > >> Andy > > > > Craig Russell > > Architect, Sun Java Enterprise System http://java.sun.com/ > products/jdo > > 408 276-5638 mailto:Craig.Russell@sun.com > > P.S. A good JDO? O, Gasp! > > Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:Craig.Russell@sun.com P.S. A good JDO? O, Gasp! --Apple-Mail-46-481386323 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Hi Matthew,

With hindsight, do you = think that this is the right solution? Any insights from your = implementation and usage experience whether it was a good or bad = idea?

Craig

On Jul 12, 2006, at 1:02 PM, Matthew T. Adams wrote:

Xcalia supports = option 3, reusing JSRs 220 & 250 annotations and defining additional = ones as necessary.

--matthew

----- Original Message = ----
From: Ilan Kirsh <kirsh@objectdb.com>
To: Craig L Russell <Craig.Russell@Sun.com>; jdo-dev@db.apache.org
Cc: JDO Expert Group <jdo-experts-ext@Sun.com>
Sent: Wednesday, July 12, 2006 12:06:55 PM
Subject: Re: JDO2 Annotations

I vote for:
=A0=A0=A0 2. Define a = complete set of annotations - based on JPOX current = work
And IMO, this should be a required = feature.
=A0
Ilan
=A0
=A0
----- Original Message = -----

> Javadogs,
>
> 2. Define a complete set of = annotations
>

> 3. Track JSR 220 and JSR 250 annotations = for persistence and mapping=A0
> and add only annotations for JDO that are = not already covered by the=A0
> other annotation specifications
>
> Craig
>
>>> annotations at
http://jpox.cvs.sourceforge.net/jpox/JPOX/Plugins/Java5/src/java/=

>> org/jpox/annotations/
>> Since it's all quiet on annotations I'll = provoke further :-)
>> The above link now shows an almost complete = set of proposed JDO2=A0
>> annotations

>> element). The

>> advantages of = matching annotations to metadata element are=A0
>> don't need to relearn the terms they = already know from metadata.=A0
>> The only
>> PersistenceAware annotations (since = they make more sense, to me)
>>
>> The only = elements missing are Index, ForeignKey, Unique (i'll add=A0
>> Interface, Property (which are low = interest for me) and the=A0
>> recursive aspects
>> JDK1.5
>> design). = Needless to say that these are all supported in the latest=A0
>> nightly builds where you could actually use = them interchangeably=A0
>> with your
>> if you
>> feel like = it.
>> Comments are welcome. Really.
>>
>> --
>> Andy
> Architect, Sun Java Enterprise System > 408 276-5638 = > P.S. A good JDO? O, = Gasp!



= --Apple-Mail-46-481386323-- --Apple-Mail-47-481387069 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGUDCCAwkw ggJyoAMCAQICEB7Y7fLHmKoeHTUdbtYrvpAwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XD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