You are here: Configuration > Common Configuration > Disable Schema Change Detection

Disable Schema Change Detection

db4o scans the class structure to find out the schema of the objects. This takes a little time. When a lot of classes are persistent this may take some time, especially on embedded devices.

Therefore you can disable this check. You can disable it only, when db4o already knows all stored classes. This means a object of each class has already been stored once. Furthermore there shouldn't be any further changes.

This setting is only useful for very special scenarios with no schema evolution at all. Otherwise this setting may cause strange and subtle errors!

IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration();
configuration.Common.DetectSchemaChanges = false;
CommonConfigurationExamples.cs: Disable schema evolution
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration()
configuration.Common.DetectSchemaChanges = False
CommonConfigurationExamples.vb: Disable schema evolution