You are here: Configuration > Class Specific Configuration > Maximum Activation Depth

Maximum Activation Depth

Sets the maximum activation depth for this type. Useful to avoid accidentally activating large objects.

Note: As soon as you use transparent activation/persistence this configuration option has no effect.
EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration();
configuration.common().objectClass(Person.class).maximumActivationDepth(5);
ObjectConfigurationExamples.java: Set maximum activation depth