cs.clear();
mods = new ArrayList<Modification>();
mods.add(new Store(InternalEntryFactory.create("k1", "v1")));
mods.add(new Store(InternalEntryFactory.create("k2", "v2")));
mods.add(new Clear());
mods.add(new Store(InternalEntryFactory.create("k3", "v3")));
cs.prepare(mods, tx, false);
cs.commit(tx);