new DatabaseConfig().setAllowCreate(true).setTransactional(true));
this.ownerIndex = env.openSecondaryDatabase(null, "ownerIndex", ownerDirectory,
((SecondaryConfig) (new SecondaryConfig().setAllowCreate(true).setSortedDuplicates(true).setTransactional(true))).setAllowPopulate(true).setKeyCreator(new OwnerKeyCreator()));
PreloadConfig ownerDirectoryPreloadConfig = new PreloadConfig();
this.ownerDirectory.preload(ownerDirectoryPreloadConfig);
this.mainStore = env.openDatabase(null, "mainStore",
new DatabaseConfig().setAllowCreate(true).setTransactional(true));