txn.commit();
txn = Transaction.startTransaction(false);
db.update(1, 1000L);
db.update(1, 10000L);
txn.commit();
txn = Transaction.startTransaction(true);
assertEquals(2, db.size());
assertEquals(20L, db.get(2).longValue());
assertEquals(10000L, db.get(1).longValue());