LOG.info("Using DB location: " + dbLocation.getRoot().getAbsolutePath());
/*
Configure and create the entity-related store. It is thread-safe and handles entity handling.
*/
StoreConfig storeConfig = new StoreConfig();
storeConfig.setAllowCreate(true);
this.entityStore = new EntityStore(environment, "testDatabase", storeConfig);
SequenceConfig sequenceConfig = new SequenceConfig();
sequenceConfig.setAllowCreate(true);
sequenceConfig.setInitialValue(1);
this.entityStore.setSequenceConfig("ID", sequenceConfig);