aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCVSz <seaza@msn.com>2016-11-16 18:05:17 +0700
committerGitHub <noreply@github.com>2016-11-16 18:05:17 +0700
commit5a6ada817e6c8d32ecf6993db0ac65839358c600 (patch)
treec5a9494f4eab0a26aaabe42a6b0981e208a90cb1
parentf76bf825df7c35a6882b3d4b1b17f29eca10da1f (diff)
downloadtrackermap-server-5a6ada817e6c8d32ecf6993db0ac65839358c600.tar.gz
trackermap-server-5a6ada817e6c8d32ecf6993db0ac65839358c600.tar.bz2
trackermap-server-5a6ada817e6c8d32ecf6993db0ac65839358c600.zip
Add lib for Microsoft JDBC Drivers with maven
[INFO] Copying mssql-jdbc-6.1.0.jre8.jar to /root/traccar/target/lib/mssql-jdbc-6.1.0.jre8.jar sample config for mssql <entry key='database.driverFile'>lib/mssql-jdbc-6.1.0.jre8.jar</entry> <entry key='database.driver'>com.microsoft.sqlserver.jdbc.SQLServerDriver</entry> <entry key='database.url'>jdbc:sqlserver://[serverName][\instanceName];user=[userName];password=[password];databaseName=[database];</entry> <entry key='database.user'>[userName]</entry> <entry key='database.password'>[password]</entry>
-rw-r--r--pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 24c3b442e..6e63bf0f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -127,6 +127,11 @@
<artifactId>jxls-poi</artifactId>
<version>1.0.11</version>
</dependency>
+ <dependency>
+ <groupId>com.microsoft.sqlserver</groupId>
+ <artifactId>mssql-jdbc</artifactId>
+ <version>6.1.0.jre8</version> <!-- Newer versions require Java 8 -->
+ </dependency>
</dependencies>