zoukankan      html  css  js  c++  java
  • spring boot 使用mybatis-generator

    mybatis-generator官网:

      http://www.mybatis.org/generator/running/runningWithMaven.html

    在pom.xml中的 build下添加:

    <build>
            <plugins>
                <plugin>
                    <groupId>org.mybatis.generator</groupId>
                    <artifactId>mybatis-generator-maven-plugin</artifactId>
                    <version>1.3.5</version>
                </plugin>
        .....
    </plugins>
    </build>

    在Maven Projects里面可以看到插件已经被集成, 

    在resources目录下会自动生成mybatis-generator.xml文件。

    只需要配置mybatis-generator.xml文件,然后就会生成所需文件

  • 相关阅读:
    C++ reference
    C++ const 限定符
    POJ 1222 EXTENDED LIGHTS OUT(高斯消元)
    poj 2185
    poj 2406
    poj 2752
    hdu 6171
    hdu 6127
    uva 3708
    hdu 6092
  • 原文地址:https://www.cnblogs.com/0xcafedaddy/p/8205002.html
Copyright © 2011-2022 走看看