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());