From 7d4f28761550537142ec08f0126dcbf35b78ad42 Mon Sep 17 00:00:00 2001
From: xieyinglin <41858839+xieyinglin@users.noreply.github.com>
Date: Thu, 17 Oct 2019 10:03:12 +0800
Subject: [PATCH] udpate jdbcdriver maven repository
taosjdbc-driver have benn published to maven central repository, you can serach from https://search.maven.org or https://mvnrepository.com.
---
.../webdocs/markdowndocs/Connector.md | 20 ++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/documentation/webdocs/markdowndocs/Connector.md b/documentation/webdocs/markdowndocs/Connector.md
index d4fadcf515..ef2383f6bd 100644
--- a/documentation/webdocs/markdowndocs/Connector.md
+++ b/documentation/webdocs/markdowndocs/Connector.md
@@ -155,7 +155,25 @@ For the time being, TDengine supports subscription on one table. It is implement
### JDBC Interface
-TDengine provides a JDBC driver `taos-jdbcdriver-x.x.x.jar` for Enterprise Java developers. TDengine's JDBC Driver is implemented as a subset of the standard JDBC 3.0 Specification and supports the most common Java development frameworks. The driver is currently not published to the online dependency repositories such as Maven Center Repository, and users should manually add the `.jar` file to their local dependency repository.
+TDengine provides a JDBC driver `taos-jdbcdriver-x.x.x.jar` for Enterprise Java developers. TDengine's JDBC Driver is implemented as a subset of the standard JDBC 3.0 Specification and supports the most common Java development frameworks. The driver have been published to dependency repositories such as Sonatype Maven Repository, and users could refer to the following `pom.xml` configuration file.
+
+```xml
+
+
+ oss-sonatype
+ oss-sonatype
+ https://oss.sonatype.org/content/groups/public
+
+
+
+
+
+ com.taosdata.jdbc
+ taos-jdbcdriver
+ 1.0.1
+
+
+```
Please note the JDBC driver itself relies on a native library written in C. On a Linux OS, the driver relies on a `libtaos.so` native library, where .so stands for "Shared Object". After the successful installation of TDengine on Linux, `libtaos.so` should be automatically copied to `/usr/local/lib/taos` and added to the system's default search path. On a Windows OS, the driver relies on a `taos.dll` native library, where .dll stands for "Dynamic Link Library". After the successful installation of the TDengine client on Windows, the `taos-jdbcdriver.jar` file can be found in `C:/TDengine/driver/JDBC`; the `taos.dll` file can be found in `C:/TDengine/driver/C` and should have been automatically copied to the system's searching path `C:/Windows/System32`.
--
GitLab