1.添加插件,在pom文件的下的添加以下配置<!--mybatis-generator--><plugin><groupId>org.mybatis.generator</groupId><artifactId>mybatis-generator-maven-plugin</artifactId><version>1.3.5</version><configuration><configurationFile><!--这里是配置generatorConfig.xml的路径不写默认在resources目录下找generatorConfig.xml文件--></configurationFile><verbose...
继续阅读 >
分类:IDEA使用mybatis-generator配上mysql
1.添加插件,在pom文件的下的添加以下配置<!--mybatis-generator--><plugin><groupId>org.mybatis.generator</groupId><artifactId>mybatis-generator-maven-plugin</artifactId><version>1.3.5</version><configuration><configurationFile><!--这里是配置generatorConfig.xml的路径不写默认在resources目录下找generatorConfig.xml文件--></configurationFile><verbose...
继续阅读 >