How can I do this?
I stored an object in db4o,
e.g:
class Person {
string _name;
int _age;
}
now, after hundrets of Persons stored in the db, I've added a new field:
class Person {
string _name;
int _age;
bool? _newField;
}
When I load the old classes with the new class, the _newField will be null or the default value. When I save it back to the db, the added field is obmitted.
How can I update all existing objects with the new field? Is that possible?