Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 321 invoked from network); 7 Jul 2005 22:34:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2005 22:34:28 -0000 Received: (qmail 8012 invoked by uid 500); 7 Jul 2005 22:34:27 -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 7999 invoked by uid 99); 7 Jul 2005 22:34:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2005 15:34:27 -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 [62.154.194.149] (HELO miraculix.spree.de) (62.154.194.149) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2005 15:34:26 -0700 Received: from [172.16.2.80] (vpn-server [192.168.16.104]) by miraculix.spree.de (8.11.6/8.11.6) with ESMTP id j67MYKQ15891; Fri, 8 Jul 2005 00:34:21 +0200 Message-ID: <42CDADEB.9070902@spree.de> Date: Fri, 08 Jul 2005 00:34:19 +0200 From: Michael Bouschen Organization: Tech@Spree Engineering User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: JDO Expert Group CC: jdo-dev@db.apache.org Subject: Re: VOTE: Add ObjectIdentity to single field identity classes References: <60BD65D3-36B9-4A9A-B95B-A2DE24F5FBF4@Sun.COM> In-Reply-To: <60BD65D3-36B9-4A9A-B95B-A2DE24F5FBF4@Sun.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Craig, [x] approve Regards Michael > Javadogs, > > When specifying the single field identity classes, we overlooked the > case of a single field of type Date, Locale, Currency, BigInteger, etc. > > Rather than adding a new class for each such type, I propose that we > add a new single field identity class to cover all of these cases. > > > public class ObjectIdentity > extends SingleFieldIdentity { > public Object getKey(); > public ObjectIdentity(Class pcClass, Object key); > } > > > [ ] approve > > [ ] disapprove. Why? > > Thanks, > > Craig > > 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! > > -- Michael Bouschen Tech@Spree Engineering GmbH mailto:mbo.tech@spree.de http://www.tech.spree.de/ Tel.:++49/30/235 520-33 Buelowstr. 66 Fax.:++49/30/2175 2012 D-10783 Berlin