private Configuration baseConfig(boolean useLogFile) { Config4Impl config = (Config4Impl) Db4o.newConfiguration(); config.objectClass(CrashData.class).objectField("_name").indexed(true); config.reflectWith(Platform4.reflectorForType(CrashSimulatingTestCase.class)); config.bTreeNodeSize(4); config.lockDatabaseFile(false); config.fileBasedTransactionLog(useLogFile); ID_SYSTEM.value().configure(config); FREESPACE_MANAGER.value().configure(config); return config; }