From 1b1fe17fcab97a9c61339dcd2f9a676687a04a83 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: 0dcc8a704178ba5087a876914a0088464ceb60b9 --- .../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.