db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Watzek <mwa.t...@spree.de>
Subject Re: Patch implementing inheritance proposal - 1 of 2
Date Tue, 30 Aug 2005 12:03:20 GMT
Hi Andy, Erik,

I'm using the latest JPOX build and still get exceptions for mapping 2 
for both identity types:

Application identity: org.jpox.metadata.InvalidMetaDataException: Class 
"org.apache.jdo.tck.pc.company.Employee" has been specified to use 
"subclass-table" inheritance strategy yet has at least one field that is 
a Collection/Map. This is not currently supported by JPOX.

Datastore identity: org.jpox.metadata.InvalidMetaDataException: 
Datastore-identity strategy in class 
"org.apache.jdo.tck.pc.company.DentalInsurance" ("identity") is not the 
same as the Datastore-Identity strategy declared in the super class(es) 

Please apply the inheritance patch and copy the attached ORM files to 
"tck20/test/orm/<identity type>/org/apache/jdo/tck/pc/company". These 
files qualify fields of superclasses, e.g. SuperClass.field. Then try 
"maven -o -Djdo.tck.cfglist=inheritance2.conf installSchema 
runtck.jdori". Do both identity types pass on your side?


>>I replaced in the ORM the part that overwrites the definition for
>>Insurance, Dental and Medical as below and got it to work. I'm using
>>JPOX head.
> And previous to that, I fixed an issue in CVS HEAD where the overriding field 
> was specified in the ORM file (rather than the JDO file which our unit test 
> was using). Consequently you should grab the latest JPOX build.

Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/

View raw message