You are here: Configuration > Class Specific Configuration > Set a Translator

Set a Translator

You can specify a special translator for this type. A translator is a special way to add you're custom serialization for a type. See "Translators"

EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration();
configuration.common().objectClass(Person.class).translate(new TSerializable());
ObjectConfigurationExamples.java: Use a translator for this type