Java Persistent Objects JDO (JPOX) version 1.0 provides a TCK compliant implementation of the JDO 1.0.1 specification.
JPOX version 1.1 moves this forward aiming towards the JDO 2.0 specification. The JDO Meta-Data in JDO 2.0 has changed
significantly with many things that were previously JPOX extensions being moved to standard places in the Meta-Data.
JPOX provides a command-line tool (the MetaDataMigrator) for converting existing JDO 1.0 (JPOX 1.0) Meta-Data
files across to the JDO 2.0 (JPOX 1.1) standard. This tool is not yet complete (neither is the JDO 2.0 spec either,
but it will follow the specification as it progresses) but provides some assistance in this process. To use the tool,
invoke it as follows
java -cp jpox-1.1.0-alpha-2.jar:log4j.jar
-Dlog4j.configuration=file:log4j.properties
org.jpox.metadata.MetaDataMigrator [options] [jdo-files]
where [options] can be :
-indent {size} : size of the indent used in the output file
-v : verbose output
This will take the specified Meta-Data files and convert them one-by-one to the new standard. You may find that
there are some tags that the tool doesn't yet convert in which case you will have to convert those manually.
Please refer to the Meta-Data Reference for details of the new tags.