From 539babed18ba1ab44e8ef635db82aca58ce2fc05 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Wed, 15 Jan 2014 13:15:50 -0500 Subject: [PATCH] added autocommit=on to H2 connection string Former-commit-id: b2f8958707ae211970640b124906bc3a67f04fc3 --- .../src/main/resources/dependencycheck.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependency-check-core/src/main/resources/dependencycheck.properties b/dependency-check-core/src/main/resources/dependencycheck.properties index 3dbea7bed..70f9f4824 100644 --- a/dependency-check-core/src/main/resources/dependencycheck.properties +++ b/dependency-check-core/src/main/resources/dependencycheck.properties @@ -13,7 +13,7 @@ max.download.threads=3 # will not be used. The data.directory will be resolved and if the connection string # below contains a %s then the data.directory will replace the %s. data.directory=[JAR]/data -data.connection_string=jdbc:h2:file:%s;AUTO_SERVER=TRUE +data.connection_string=jdbc:h2:file:%s;AUTO_SERVER=TRUE;AUTOCOMMIT=ON; #data.connection_string=jdbc:mysql://localhost:3306/dependencycheck # user name and password for the database connection. The inherent case is to use H2. # As such, this unsecure username/password exist.