// For testing auto-commit, use a normal (transactional) runner for
// all reading and for writing via an iterator, and a do-nothing
// runner for writing via collections; if auto-commit is tested,
// the per-collection auto-commit property will be set elsewhere.
//
TransactionRunner normalRunner = newTransactionRunner(env);
normalRunner.setAllowNestedTransactions(
DbCompat.NESTED_TRANSACTIONS);
TransactionRunner nullRunner = new NullTransactionRunner(env);
readRunner = nullRunner;
if (isAutoCommit) {
writeRunner = nullRunner;
writeIterRunner = testStoredIterator ? normalRunner
: nullRunner;