项目作者: wmmxsd

项目描述 :
Multi thread and database connection pool are used to generate SQL files and import them into database
高级语言: Java
项目地址: git://github.com/wmmxsd/batch-insert.git
创建时间: 2021-04-02T03:25:09Z
项目社区:https://github.com/wmmxsd/batch-insert

开源协议:

下载


batch-insert

Introduction

Multi thread and database connection pool are used to generate SQL files and import them into database

Component

  • druid
  • thread pool of java
  • tool class of mybatis

    Use

  1. git clone https://github.com/wmmxsd/batch-insert.git
  2. cd batch-insert && mvn package
  3. java -jar BATCH-INSERT-1.0-SNAPSHOT.jar or java -jar BATCH-INSERT-1.0-SNAPSHOT.jar 1000 2000 (1000:number of SQL lines in each file; 2000:number of files)