store.close();
store = null;
// is not transactional
//
DatabaseConfig dbConfig = new DatabaseConfig();
DbCompat.setTypeBtree(dbConfig);
dbConfig.setAllowCreate(true);
Database db = DbCompat.testOpenDatabase
(env, null, dbName(1), null, dbConfig);
map = new StoredSortedMap(db, testStore.getKeyBinding(),
testStore.getValueBinding(), true);
assertTrue(!map.isTransactional());
map.put(ONE, ONE);
readCheck(map, ONE, ONE);
db.close();
// is transactional
//
dbConfig.setTransactional(true);
currentTxn.beginTransaction(null);
db = DbCompat.testOpenDatabase
(env, currentTxn.getTransaction(), dbName(2), null, dbConfig);
currentTxn.commitTransaction();
map = new StoredSortedMap(db, testStore.getKeyBinding(),