fixed Value annotations

This commit is contained in:
Antonis Lempesis 2022-01-31 14:01:26 +02:00
parent 1c82088a7c
commit 9ac10fc4b3
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@ public final class ImpalaConnector {
@Autowired
private JdbcTemplate jdbcTemplate;
@Value("${services.pdfaggregation.controller.db.oldDatabaseName}:pdfaggregation_i")
@Value("${services.pdfaggregation.controller.db.oldDatabaseName}")
public static String oldDatabaseName;
@Value("${services.pdfaggregation.controller.db.databaseName}:pdfAggregationDatabase")
@Value("${services.pdfaggregation.controller.db.databaseName}")
public static String databaseName;
public static final Lock databaseLock = new ReentrantLock(true); // This lock is locking the threads trying to execute queries in the database.