db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Re: Running TCK with JPOX
Date Sat, 16 Apr 2005 16:39:44 GMT
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		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			


Mime
View raw message