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