dbConfig.setSortedDuplicates(true);
Database db = env.openDatabase(null, dbName, dbConfig);
Transaction txn = null;
if (transactional) {
txn = env.beginTransaction(null, null);
}
/* Write: {0, 0}, {0, 1}, {1, 0}, {2, 0}, {3, 0} */
for (int j = 0; j < N_ENTRIES; j += 1) {
db.put(txn, Utils.entry(j), Utils.entry(0));