code: public File getH2DataDirectory() throws IOException {
          final String h2Test = getString(Settings.KEYS.H2_DATA_DIRECTORY);
          final File path;
          if (h2Test != null && !h2Test.isEmpty()) {
              path = getDataFile(Settings.KEYS.H2_DATA_DIRECTORY);
          } else {
              path = getDataFile(Settings.KEYS.DATA_DIRECTORY);
          }
          if (path != null && (path.exists() || path.mkdirs())) {
              return path;
          }
          throw new IOException(String.format("Unable to create the h2 data directory '%s'",
                  (path == null) ? "unknown" : path.getAbsolutePath()));
      }
docs: Retrieves the H2 data directory - if the database has been moved to the
  temp directory this method will return the temp directory.
  
  @return the data directory to store data files
  @throws java.io.IOException is thrown if an java.io.IOException occurs of
  course...