Some settings are object-specific and are configured for the class. It's part of the common-configuration, which is available on the client, server and embedded-mode of db4o.
Its recommended that you use the same configuration for the client and the server.
The configuration for a specific class follows always the same pattern. First you specify for which type the configuration applies. You pass the type, the name as string or event an instance of the specific class to the configuration.
From the class-configuration, you also can go a level deeper to the field configuration.
Here's a overview over all common configuration-settings which you can change:
CallConstructor: Configure db4o to call constructors when instantiating objects. |
CascadeOnDelete: When a object is deleted, delete also referenced objects. |
CascadeOnUpdate: When a object is updated, update also referenced objects. |
CascadeOnActivation: When a object is activated, activate also referenced objects. |
Index: Don't index the objects of this type. |
GenerateUUIDs: Generate UUIDs, mainly used for replication. |
MaximumActivationDepth: Set a maximum activation-depth. |
MinimumActivationDeph: Set a minimum activation-depth. |
PersistStaticFields: Persist also the static fields of this type. |
Rename: Rename this type. Used for refactorings. |
Translate: Set a translator for this type. |
StoreTransientFields: Store also transient fields. |
UpdateDepth: Set the update-depth for this type. |