Hi Erik,

Some notes on running the TCK with JPOX

1. JPOX requires that persistence-aware classes to be declared in the metadata.
Below some of the classes I could detect.


The properties file tck20/project.properties defines a property 'jdo.tck.paclasses.sources' which lists all the persistence aware classes used in the JDO TCK. Maybe this helps.

Regards Michael

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata
2.0//EN" "http://java.sun.com/dtd/jdo_2_0.dtd";>
<jdo>
   <package name="org.apache.jdo.tck.api.instancecallbacks">
       <class name="NoAccessToFieldsAfterPredelete"
persistence-modifier="persistence-aware"/>
       <class name="CallingJdoPreclear"
persistence-modifier="persistence-aware"/>
       <class name="CallingJdoPredelete"
persistence-modifier="persistence-aware"/>
       <class name="CallingJdoPrestore"
persistence-modifier="persistence-aware"/>
       <class name="CallingJdoPostload"
persistence-modifier="persistence-aware"/>
</package>
</jdo>

2. JPOX does metadata validation against schema at runtime. This is a feature
that can be disabled.
JPOX says that some of the columns do not match the metadata definition.

The fields are:

PERSONS.FIRSTNAME
DEPARTMENTS.NAME
COMPANIES.NAME





--
Michael Bouschen                [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]        http://www.tech.spree.de/
Tel.:++49/30/235 520-33         Buelowstr. 66                   
Fax.:++49/30/2175 2012          D-10783 Berlin                  



Reply via email to