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:[EMAIL PROTECTED]

P.S. A good JDO? O, Gasp!


Attachment: smime.p7s
Description: S/MIME cryptographic signature

  • Re: JDO-61 Craig Russell

Reply via email to