this.dbData = DUMMY_STORE;
}
}
}
// Specify the data directory and the temp directory.
dataDirectory = new VirtualFile(canonicalName, dbData);
tempDir = new VirtualFile(normalizePath(canonicalName, "tmp"),
dbData);
// Handle cases where the database name is null, but a system home
// directory has been specified.
} else if (home != null) {
// Return the "system home directory" and specify a temporary
// directory for it (may never by used).
// As databases are created, the dummy will contain the
// directory names of the database locations, but the
// databases themselves will be stored in separate stores.
final String absHome = new File(home).getCanonicalPath();
dbData = DUMMY_STORE;
dataDirectory = new VirtualFile(absHome, dbData);
tempDir = new VirtualFile(getSeparator() + "tmp", dbData);
}
// Create the temporary directory, if one has been specified.
// Creating the temporary directory too early casues the
// BaseDataFileFactory to fail, hence the check for uniqueName.