homework-jianmu/tests/examples/JDBC/JDBCDemo
dependabot[bot] 696aebfbe3
Bump junit from 4.12 to 4.13.1 in /tests/examples/JDBC/JDBCDemo
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-20 09:53:28 +00:00
..
src Merge branch 'develop' into feature/TD-1701 2020-10-20 11:08:59 +08:00
.gitignore update jdbcTaosdemo 2020-09-25 10:26:58 +08:00
pom.xml Bump junit from 4.12 to 4.13.1 in /tests/examples/JDBC/JDBCDemo 2020-10-20 09:53:28 +00:00
readme.md update jdbcTaosDemo 2020-10-19 20:25:23 +08:00

readme.md

How to Run the JDBC Demo Code On A Linux OS

TDengine's JDBC demo project is organized in a Maven way so that users can easily compile, package and run the project. If you don't have Maven on your server, you may install it using

sudo apt-get install maven

Install TDengine Client

Make sure you have already installed a tdengine client on your current develop environment. Download the tdengine package on our website: https://www.taosdata.com/cn/all-downloads/ and install the client.

Compile the Demo Code and Run It

To compile the demo project, go to the source directory TDengine/tests/examples/JDBC/JDBCDemo and execute

mvn clean package assembly:single

The pom.xml is configured to package all the dependencies into one executable jar file.

To run it, go to examples/JDBC/JDBCDemo/target and execute

java -jar jdbcChecker-SNAPSHOT-jar-with-dependencies.jar -host localhost