Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Try loading up the datasources properties a second time.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed May 30, 2018
1 parent d01aee8 commit 788bb4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/src/main/java/com/simplevote/tools/Tools.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public class Tools {

public static final HikariConfig hikariConfig() {
HikariConfig hc = new HikariConfig();
DataSources.PROPERTIES = Tools.loadProperties(DataSources.PROPERTIES_FILE);
hc.setJdbcUrl(DataSources.PROPERTIES.getProperty("jdbc.url"));
hc.setUsername(DataSources.PROPERTIES.getProperty("jdbc.username"));
hc.setPassword(DataSources.PROPERTIES.getProperty("jdbc.password"));
Expand Down

0 comments on commit 788bb4c

Please sign in to comment.