其他分享
首页 > 其他分享> > 指定mybatis-generator使用的配置文件

指定mybatis-generator使用的配置文件

作者:互联网

默认配置文件

generatorConfig.xml

修改配置文件

generatorConfig-test.xml

工程由maven管理,编辑maven命令即可

-Dmybatis.generator.configurationFile=src/main/resources/generatorConfig-test.xml mybatis-generator:generate

官方文档
http://mybatis.org/generator/quickstart.html
配置详解
https://www.cnblogs.com/Luke-Me/p/8963508.html
Maven工程下mybatis-generator的使用
https://www.jianshu.com/p/d3672a768755

标签:xml,www,配置文件,generator,mybatis,generatorConfig
来源: https://www.cnblogs.com/vaen/p/15908482.html