# mybatis-generator-plugin-ext
**Repository Path**: fastjrun/mybatis-generator-plugin-ext
## Basic Information
- **Project Name**: mybatis-generator-plugin-ext
- **Description**: mybatis-generator-plugin插件扩展
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-05-31
- **Last Updated**: 2022-06-23
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# mybatis-generator-plugin-ext
#### 介绍
基于mybatis-generator-maven-plugin 1.4.0 进行扩展,当前支持mysql ,h2,主要会提供如下扩展常用方法,因本人使用偏好,这些方法仅支持注解方式,后续也不会考虑对XMLMAPPER支持。
目前只有一个扩展方法:
- `insertBatch`
#### 使用教程
##### 写在前面:使用本插件应该对mybatis generator plugin 有所了解,基本使用方法。
- pom.xml中引用mybatis-generator-maven-plugin的位置增加相应的dependency
```xml
org.mybatis.generator
mybatis-generator-maven-plugin
1.4.0
com.h2database
h2
1.4.200
mybatis-generator-plugin-ext
com.fastjrun.codeg
1.0
```
**注意**:本插件仅支持mybatis-generator-maven-plugin:1.4.0,暂不兼容其它版本。
- 在对应的mybatis-generator配置文件添加如下配置
```xml
```