db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Re: JDO-61
Date Fri, 10 Jun 2005 15:40:30 GMT
Hi Erik,

One reason that we include all the classes in pc/company/package.jdo  
is so that when the package.jdo is read, all the classes are known.

Why doesn't reading the PartTimeEmployee metadata from package.jdo  
tell JPOX that the class exists?

Thanks,

Craig

On Jun 9, 2005, at 11:27 PM, Andy Jefferson wrote:

>> The JPOX log shows that the test that fails doesn't select for part
>> time employees, so it misses one of the rows in the database. The
>> test that succeeds selects for Employee, PartTimeEmployee, and
>> FullTimeEmployee.
>>
>> I don't know the solution, just the symptom.
>>
>
> Hi Craig,
>
> Well if the JDO impl doesn't know about the PartTimeEmployee class  
> in some
> situations of running that test then you could let it know about it :-
>
> pm.getExtent(PartTimeEmployee.class);
>
>
> -- 
> Andy
> Java Persistent Objects JDO - JPOX
>

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