code: public void setDataHome(String dir) {
          if (dir == null) {
              mDataHome = null;
          } else {
              setDataHomeFile(new File(dir));
          }
      }
docs: By default, data files are stored relative to the environment home. Call
  this method to override. For BDBRepositories that are log files only,
  this configuration is ignored.