diff --git a/tests/examples/JDBC/SpringJdbcTemplate/pom.xml b/tests/examples/JDBC/SpringJdbcTemplate/pom.xml
index b796d52d28fbc641800a889fd3f81bc9c62f9147..15aed1cf03b4e10e5a69e16be99ea2320a24609e 100644
--- a/tests/examples/JDBC/SpringJdbcTemplate/pom.xml
+++ b/tests/examples/JDBC/SpringJdbcTemplate/pom.xml
@@ -1,85 +1,91 @@
- 4.0.0
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ 4.0.0
- com.taosdata.jdbc
- SpringJdbcTemplate
- 1.0-SNAPSHOT
+ com.taosdata.jdbc
+ SpringJdbcTemplate
+ 1.0-SNAPSHOT
- SpringJdbcTemplate
- http://www.taosdata.com
+ SpringJdbcTemplate
+ http://www.taosdata.com
-
- UTF-8
- 1.8
- 1.8
-
+
+ UTF-8
+ 1.8
+ 1.8
+
-
+
-
- org.springframework
- spring-context
- 4.3.2.RELEASE
-
+
+ org.springframework
+ spring-context
+ 5.2.8.RELEASE
+
-
- org.springframework
- spring-jdbc
- 4.3.2.RELEASE
-
+
+ org.springframework
+ spring-jdbc
+ 5.1.9.RELEASE
+
-
- junit
- junit
- 4.11
- test
-
+
+ org.springframework
+ spring-test
+ 5.1.9.RELEASE
+
-
- com.taosdata.jdbc
- taos-jdbcdriver
- 2.0.2
-
+
+ junit
+ junit
+ 4.13
+ test
+
-
+
+ com.taosdata.jdbc
+ taos-jdbcdriver
+ 2.0.4
+
-
-
-
- maven-compiler-plugin
- 3.8.0
-
-
- 1.8
-
-
-
- org.apache.maven.plugins
- maven-assembly-plugin
- 3.1.0
-
-
-
- com.taosdata.jdbc.App
-
-
-
- jar-with-dependencies
-
-
-
-
- make-assembly
- package
-
- single
-
-
-
-
-
-
+
+
+
+
+
+ maven-compiler-plugin
+ 3.8.0
+
+
+ 1.8
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 3.1.0
+
+
+
+ com.taosdata.jdbc.example.jdbcTemplate.App
+
+
+
+ jar-with-dependencies
+
+
+
+
+ make-assembly
+ package
+
+ single
+
+
+
+
+
+
diff --git a/tests/examples/JDBC/SpringJdbcTemplate/src/main/java/com/taosdata/jdbc/App.java b/tests/examples/JDBC/SpringJdbcTemplate/src/main/java/com/taosdata/jdbc/App.java
deleted file mode 100644
index 3230af46a8016fee3d58c89ea3b2c1ddcf39cea5..0000000000000000000000000000000000000000
--- a/tests/examples/JDBC/SpringJdbcTemplate/src/main/java/com/taosdata/jdbc/App.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package com.taosdata.jdbc;
-
-
-import org.springframework.context.ApplicationContext;
-import org.springframework.context.support.ClassPathXmlApplicationContext;
-import org.springframework.jdbc.core.JdbcTemplate;
-import org.springframework.util.CollectionUtils;
-
-import java.util.List;
-import java.util.Map;
-
-public class App {
-
- public static void main( String[] args ) {
-
- ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
-
- JdbcTemplate jdbcTemplate = (JdbcTemplate) ctx.getBean("jdbcTemplate");
-
- // create database
- jdbcTemplate.execute("create database if not exists db ");
-
- // create table
- jdbcTemplate.execute("create table if not exists db.tb (ts timestamp, temperature int, humidity float)");
-
- String insertSql = "insert into db.tb values(now, 23, 10.3) (now + 1s, 20, 9.3)";
-
- // insert rows
- int affectedRows = jdbcTemplate.update(insertSql);
-
- System.out.println("insert success " + affectedRows + " rows.");
-
- // query for list
- List