diff options
author | CVSz <seaza@msn.com> | 2016-11-16 18:05:17 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 18:05:17 +0700 |
commit | 5a6ada817e6c8d32ecf6993db0ac65839358c600 (patch) | |
tree | c5a9494f4eab0a26aaabe42a6b0981e208a90cb1 | |
parent | f76bf825df7c35a6882b3d4b1b17f29eca10da1f (diff) | |
download | trackermap-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.xml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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> |