项目作者: hollyshi

项目描述 :
MyBatis Generator Plugin. Generate remarks for classes and fields, and also generate batch insert sql.
高级语言: Java
项目地址: git://github.com/hollyshi/mygenerator-plugin.git
创建时间: 2017-05-23T08:00:39Z
项目社区:https://github.com/hollyshi/mygenerator-plugin

开源协议:MIT License

下载


mygenerator-plugin

MyBatis Generator Plugin. 自动生成类和字段的注释,同时生成批量插入的sql

how to run with maven

  1. mvn install
  2. in your pom.xml, add dependency of the plugin.
    1. <build>
    2. <plugins>
    3. <plugin>
    4. <groupId>org.mybatis.generator</groupId>
    5. <artifactId>mybatis-generator-maven-plugin</artifactId>
    6. <version>1.3.5</version>
    7. <dependencies>
    8. <dependency>
    9. <groupId>com.hollyshi</groupId>
    10. <artifactId>mygenerator-plugin</artifactId>
    11. <version>1.0.0-SNAPSHOT</version>
    12. </dependency>
    13. </dependencies>
    14. </plugin>
    15. </plugins>
    16. </build>
  3. in your generatorConfig.xml, add the plugin.
    ```xml









```

  1. run mvn mybatis-generator:generate
  2. done.