Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 520 Bytes

File metadata and controls

19 lines (11 loc) · 520 Bytes

plain-java-jdbc-bookshop

It's an example, which is based on the bookshop application dataset, used plain Java and JDBC to connect TiDB.

Running way

  1. Makefile(recommend)
  • Run make all
  1. Manual
  • Run tiup demo bookshop prepare to create the data structure on TiDB
  • Run mvn clean package
  • Run java -jar target/plain-java-jdbc-bookshop-0.0.1-jar-with-dependencies.jar

Code