reset username and blank password

Former-commit-id: 398c0723854c8c43d674d03a6433611c8572cec5
This commit is contained in:
Jeremy Long
2013-05-27 21:32:05 -04:00
parent 539d3cbaba
commit a038bef7fe

View File

@@ -185,7 +185,7 @@ public class CveDB {
*/
@edu.umd.cs.findbugs.annotations.SuppressWarnings(
value = "DMI_EMPTY_DB_PASSWORD",
justification = "Yes, I know... Blank password. With the embedded DB the password doesn't have any affect.")
justification = "Yes, I know... Blank password.")
public void open() throws IOException, SQLException, DatabaseException, ClassNotFoundException {
final String fileName = CveDB.getDataDirectory().getCanonicalPath()
+ File.separator
@@ -194,7 +194,7 @@ public class CveDB {
final boolean createTables = !f.exists();
final String connStr = "jdbc:h2:file:" + fileName;
Class.forName("org.h2.Driver");
conn = DriverManager.getConnection(connStr, "local", "");
conn = DriverManager.getConnection(connStr, "sa", "");
if (createTables) {
createTables();
}