db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Caisse <Michelle.Cai...@Sun.COM>
Subject Re: Support java.lang.Object as FCO
Date Tue, 16 Aug 2005 19:00:51 GMT
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 <field> attribute to notate which classes will actually be stored in 
>that field, instead using
><field name="myObjectField>
>    <extension vendor-name="jpox" key="implementation-classes" 
>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!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message