Migration From 1 6 To 1 8

Database

The database file format has changed so it is necessary to export database to XML file using version 1.5.5 and import the xml in a new database using the 1.8 version. This can be done easily with the ODBExplorer graphical application.

API

Some changes have been done to the ODB interface :

  • The Object ID is now an object,it is not a long anymore. So the methods getObjectId and getObjectById now work with OID interface instead of long.
  • The store method now returns the ODB OID of the new created object.
  • The delete method on interface ODB now throw an Exception instead of IOException
  • The getObjects method now return an object of type Objects (wich implements Collection) instead of a list. So the iterator pattern should be used to get objects from the return collection.

Any questions, ask the forum at SF.net Forum

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License