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: JDO_Test tearDown
Date Tue, 28 Mar 2006 16:53:55 GMT
Yes, I'll look into this.

-- Michelle

Craig L Russell wrote:

> Hi,
>
> This is clearly a bug, from your description. The reason it was  
> working before was a counterbalancing bug in JPOX?
>
> Michelle, can you take a look at it?
>
> Thanks,
>
> Craig
>
> On Mar 27, 2006, at 11:35 PM, Andy Jefferson wrote:
>
>> Some more information, having tried with Erik's recent changes to  JPOX.
>>
>> Take the example of configuration "schemaAttributePackage.conf".
>> This is passing the "javax.jdo.mapping.Schema" property as  
>> "datastoreidentity6".
>> In the MetaData files (for PCPoint) it is using  
>> "datastoreidentity_pkg" (where
>> the schema for PCPoint is actually created)
>>
>> The test itself runs fine since JPOX is using  
>> "datastoreidentity_pkg" and so passes.
>> JDO_Test tearDown works fine on the delete of PCPoint (since that  
>> class is in
>> "datastoreidentity_pkg" schema)
>> JDO_Test tearDown is also trying to delete data from "pc/company"  
>> too ... which
>> doesn't have such schema MetaData settings and so these fall back  to 
>> the
>> "datastoreidentity6" schema that was passed to the PMF. This schema  
>> doesnt exist!
>>
>>
>>
>>
>> -- 
>> 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!
>


Mime
View raw message