You are here: Configuration > Common Configuration > Name Provider

Name Provider

You can overwrite how the object-containers is named. This can be helpful for debugging multiple-container scenarios.

EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration();
configuration.common().nameProvider(new SimpleNameProvider("Database"));
CommonConfigurationExamples.java: set a name-provider