mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
Actual fix: the database product was reported as “PostgreSQL” by the driver. As the custom “Locale” used in the ResourceBundle is case-sensitive, the mixed-case properties file fails to be resolved (at least on case-sensitive file systems)
This commit is contained in:
@@ -231,7 +231,7 @@ public final class CveDB implements AutoCloseable {
|
||||
*/
|
||||
private static String determineDatabaseProductName(Connection conn) {
|
||||
try {
|
||||
final String databaseProductName = conn.getMetaData().getDatabaseProductName();
|
||||
final String databaseProductName = conn.getMetaData().getDatabaseProductName().toLowerCase();
|
||||
LOGGER.debug("Database product: {}", databaseProductName);
|
||||
return databaseProductName;
|
||||
} catch (SQLException se) {
|
||||
|
||||
Reference in New Issue
Block a user