env = new Environment(dataDir, envConfig);
}
DatabaseConfig dbConfig = new DatabaseConfig();
dbConfig.setAllowCreate(true);
dbConfig.setTransactional(true);
classCatalog = new StoredClassCatalog(env.openDatabase(null,
DATABASE_CLASS_NAME, dbConfig));
keyBinding = new SerialBinding<IMetaData[]>(classCatalog, IMetaData[].class);
dataBinding = new SerialBinding<ICache>(classCatalog, ICache.class);
dbMain = env.openDatabase(null, DATABASE_MAIN_NAME, dbConfig);