sets the activation depth to the specified value.
sets the activation depth to the specified value.
Why activation?
During the instantiation of stored objects from persistent storage, the instantiation of members needs to be limited to a certain depth. Otherwise a possible root object would completely instantiate all stored objects to memory.
db4o uses a preconfigured "activation depth" of 5.
If an object is returned in an ObjectSet as a result of a get
object.member1.member2.member3.member4.member5will be instantiated. member5 will have all it's members set to null. Primitive types will have the default values respectively. In db4o terminology, the state of member5 is called
DEACTIVATED. member5 can be activated by calling activate .
Configuration Interface | com.db4o.config Namespace | maximumActivationDepth