You are here: Configuration > Class Specific Configuration > Generate UUIDs

Generate UUIDs

Generate UUIDs for instances of this type. UUIDs are mainly used for replication.

EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration();
configuration.common().objectClass(Person.class).generateUUIDs(true);
ObjectConfigurationExamples.java: Generate uuids for this type