diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-26 18:58:30 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-26 18:58:30 +1200 |
commit | f5af779ccd3e61570df72a487cbf01dbe50b0c3f (patch) | |
tree | 06d2ac71aa4513442f1a7af0f0abfc501e1f40d4 | |
parent | e8ad88fba934e3ff6477531f7f34b5dd3b0737b1 (diff) | |
download | trackermap-server-f5af779ccd3e61570df72a487cbf01dbe50b0c3f.tar.gz trackermap-server-f5af779ccd3e61570df72a487cbf01dbe50b0c3f.tar.bz2 trackermap-server-f5af779ccd3e61570df72a487cbf01dbe50b0c3f.zip |
Fix Liquibase driver issuev3.17
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | src/org/traccar/database/DataManager.java | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -45,7 +45,7 @@ <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> - <version>5.1.45</version> <!-- Version 6 required Java 8 + issue in 46 --> + <version>5.1.46</version> <!-- Version 6 required Java 8 --> </dependency> <dependency> <groupId>org.postgresql</groupId> diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index 3c26685bd..ae5ec2d5f 100644 --- a/src/org/traccar/database/DataManager.java +++ b/src/org/traccar/database/DataManager.java @@ -295,7 +295,8 @@ public class DataManager { config.getString("database.url"), config.getString("database.user"), config.getString("database.password"), - null, resourceAccessor); + config.getString("database.driver"), + null, null, null, resourceAccessor); Liquibase liquibase = new Liquibase( config.getString("database.changelog"), resourceAccessor, database); |