From 519707ac91528d86b654ddbd68a7fd36dd147243 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Wed, 30 Oct 2024 05:25:13 -0400 Subject: [PATCH] fix: re-add h2 database driver name (#7115) --- core/src/main/resources/dependencycheck.properties | 2 +- core/src/test/resources/dependencycheck.properties | 2 +- utils/src/test/resources/dependencycheck.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/resources/dependencycheck.properties b/core/src/main/resources/dependencycheck.properties index 642568a6848..8e11c5837ef 100644 --- a/core/src/main/resources/dependencycheck.properties +++ b/core/src/main/resources/dependencycheck.properties @@ -44,8 +44,8 @@ data.password=DC-Pass1337! # to ensure any and all needed files can be added to the classpath to load the driver. # For non-JDBC4 drivers in the classpath only the driver_name needs to be set. # For MOST situations these properties likely do not need to be set. -# data.driver_name=org.h2.Driver # data.driver_path= +data.driver_name=org.h2.Driver # the class name of the write lock shutdown hook data.writelock.shutdownhook=org.owasp.dependencycheck.utils.WriteLockCleanupHook diff --git a/core/src/test/resources/dependencycheck.properties b/core/src/test/resources/dependencycheck.properties index c6f1488b5ae..fffb81adc3c 100644 --- a/core/src/test/resources/dependencycheck.properties +++ b/core/src/test/resources/dependencycheck.properties @@ -40,8 +40,8 @@ data.password=DC-Pass1337! # to ensure any and all needed files can be added to the classpath to load the driver. # For non-JDBC4 drivers in the classpath only the driver_name needs to be set. # For MOST situations these properties likely do not need to be set. -#data.driver_name=org.h2.Driver #data.driver_path= +data.driver_name=org.h2.Driver # the class name of the write lock shutdown hook data.writelock.shutdownhook=org.owasp.dependencycheck.utils.WriteLockCleanupHook diff --git a/utils/src/test/resources/dependencycheck.properties b/utils/src/test/resources/dependencycheck.properties index bc1fb908e21..a00a0172ce0 100644 --- a/utils/src/test/resources/dependencycheck.properties +++ b/utils/src/test/resources/dependencycheck.properties @@ -40,8 +40,8 @@ data.password=DC-Pass1337! # to ensure any and all needed files can be added to the classpath to load the driver. # For non-JDBC4 drivers in the classpath only the driver_name needs to be set. # For MOST situations these properties likely do not need to be set. +#data.driver_path= data.driver_name=org.h2.Driver -data.driver_path= # the class name of the write lock shutdown hook data.writelock.shutdownhook=org.owasp.dependencycheck.utils.WriteLockCleanupHook