Open topic with navigation
Automatic Refactoring
In simple cases db4o handles schema changes automatically:
- When you add a new field, db4o automatically starts storing the new data. Older instances of your stored class have the default value in the new field.
- When you remove a field, db4o ignores the stored value for that field. The stored value is not removed from the database until you update the object or run a defragmentation. Meanwhile the old values are still accessible with the StoredClass/StoredField API.
- You can add an interface to a class any time. The db4o operations are not affected by interfaces.