this.txnMode = (dbEnv.getOpenFlags() & Db.DB_INIT_TXN) != 0;
if (this.txnMode || ((dbEnv.getOpenFlags() & Db.DB_INIT_LOCK) != 0))
this.writeLockFlag = Db.DB_RMW;
this.cdbMode = (dbEnv.getOpenFlags() & Db.DB_INIT_CDB) != 0;
} catch (DbException e) {
throw new RuntimeExceptionWrapper(e);
}
}