220 words

How to upgrade from ObjectDB 1.0?

Upgrade - Step By Step

To upgrade an existing application that uses ObjectDB 1.0 to ObjectDB 2.0:

  • Replace the old ObjectDB and JDO jar files with the new objectdb.jar file. Make sure that the old jar files are removed from the classpath (check both the build classpath and the execution classpath). Refresh your IDE cache.
  • Rebuild your project using the new jar file and enhance your classes using the new Enhancer.
  • Convert old database files using the ObjectDB converter:

> java -jar converter.jar <old-file-path> <new-file-path>

Effect on Existing Code

Please note the following changes in ObjectDB 2.0: