You are here: Advanced Features > Type Handling > UUID Support

UUID Support

When you are using the Java UUIDs you should turn on the support those. When you this on UUIDs will be handles as value objects like strings and numbers. This has several advantages:

Add the UUID support like this:

EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration();
configuration.common().add(new UuidSupport());
ConfigurationItemsExamples.java: Add proper support for UUIDs