Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 94002 invoked from network); 16 Aug 2005 19:02:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2005 19:02:10 -0000 Received: (qmail 11248 invoked by uid 500); 16 Aug 2005 19:02:08 -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 11235 invoked by uid 99); 16 Aug 2005 19:02:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 12:02:07 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_30_40,HTML_MESSAGE,HTML_TITLE_EMPTY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.34] (HELO brmea-mail-3.sun.com) (192.18.98.34) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 12:02:27 -0700 Received: from phys-mpk-1 ([129.146.11.81]) by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id j7GJ25ou010426 for ; Tue, 16 Aug 2005 13:02:05 -0600 (MDT) Received: from conversion-daemon.mpk-mail1.sfbay.sun.com by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0ILB00J01VVH77@mpk-mail1.sfbay.sun.com> (original mail from Michelle.Caisse@Sun.COM) for jdo-dev@db.apache.org; Tue, 16 Aug 2005 12:02:05 -0700 (PDT) Received: from [129.150.28.133] (vpn-129-150-28-133.SFBay.Sun.COM [129.150.28.133]) by mpk-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0ILB00FC0WTFKY@mpk-mail1.sfbay.sun.com> for jdo-dev@db.apache.org; Tue, 16 Aug 2005 12:00:51 -0700 (PDT) Date: Tue, 16 Aug 2005 12:00:51 -0700 From: Michelle Caisse Subject: Re: Support java.lang.Object as FCO In-reply-to: <200508161911.37196.andy@jpox.org> To: jdo-dev@db.apache.org Message-id: <430237E3.9070906@sun.com> MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_9TuxhzBG+BgwELSvudFM4g)" X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 References: <42DFF7BB.4070407@sun.com> <200508130821.05330.andy@jpox.org> <200508161911.37196.andy@jpox.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Boundary_(ID_9TuxhzBG+BgwELSvudFM4g) Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT Very nice! Is the change available for download now, or just checked in? -- Michelle Andy Jefferson wrote: >>>What if we define a new attribute on field called field-type, and for >>>the TCK we put in "...SimpleClass"? Would that allow you to map it? >>> >>> > > > >>It certainly sounds doable (not looked at the code ...). >> >> > >OK, JPOX now supports java.lang.Object as FCO. It's not currently using the >proposed attribute to notate which classes will actually be stored in >that field, instead using >value="comma-separated-list-of-PC-classnames-that-can-be-stored-here"/> > > >When we have an agreed JDO2 attribute, I'll swap it over to that. > >The TCK now gives exceptions of the following style, due to absence of >possible classes against each Object (or Collection of Object) field :- >javax.jdo.JDOUserException: Field >"org.apache.jdo.tck.pc.fieldtypes.ArrayListCollections.ArrayListOfObject2" is >declared as a reference type (interface/Object) but no implementation classes >of "java.lang.Object" have been found! > >HTH > > --Boundary_(ID_9TuxhzBG+BgwELSvudFM4g)--