release notes

0.43 => 1.0

1.) The file-format remains unchanged.

2.) Db4o => ObjectContainer. Storage and retrieval functions are found in this new interface.

3.) new Db4o(file) => Db4o.openFile(file)

4.) Db4o.down() => ObjectContainer.close()

5.) ObjectContainer.get(template) returns an object of the new interface ObjectSet.

6.) The Persistent interface is no longer needed.

7.) The PersistentObject class was removed.

8.) The DbHandle Interface is no longer available. All functions were moved to ObjectContainer. The getID() function is only available as InternalContainer.getInternalID(). InternalContainer extends ObjectContainer. The use of this interface is not recommended. It will not be found in the documentation. Db4o.openFile(file) will however return an InternalContainer so a cast is possible.

9.) Db4o.get(long id) was moved to InternalContainer.getObjectByInternalId(long internalID).

10.) The isDeleted() function was removed without replacement. Objects are deleted instantaniously. Subsequent calls to ObjectContainer.set() will result in a new storage of the passed object.
The PersistentState interface is no longer available.

11.) The InvalidStateException was removed. If a deactivated object is passed to ObjectContainer.set(), this simply has no effect on the stored object.

12.) Db4o.getClasses() was replaced by ObjectContainer.get(new ObjectClass()). The ObjectClass class is intended as an interface for future maintenance functions.

13.) The functions Db4o.getDefaultFileName() and Db4o.isPersistent() were removed without replacement.

14.) The com.db4o.Collection and com.db4o.Iterator were moved to com.db4o.lib. Both classes are no longer needed, to interface db4o. Db4o.set(Collection) and Db4o.get(Collection) were removed without replacement.

15.) Members declared as "Object" are now stored.

16.) Interface members are now stored.

17.) A wrapper for java.util.Date has been added. Date objects are now stored and can be used for querying.

18.) A Query-By-Example bug was fixed. Deeper level criteria where previously not evaluated in some cases.