This is an example of a bulk-batch using TiDB and plain Java and JDBC.
- Makefile(recommend)
- Run
make all.
- Manual
- Run
tiup demo bookshop prepare --drop-tablesto create the data structure and data on TiDB. - Run
mysql --host 127.0.0.1 --port 4000 -u root<add_attr_ten_point.sqlto addten_pointfield. - Run
mvn clean package. - Run
java -jar target/plain-java-batch-batch-0.0.1-jar-with-dependencies.jar.