MyBatis自动化插件的使用

MyBatis插件的使用

git地址

https://github.com/yuyufeng1994/sample-tkmybatis-spring

调试

test目录下直接单元调试,测试运行,查看流程

generator从数据库生成class、mapper、xml

  • 相关配置:generator.properties、generatorConfig.xml 对应配置
  • 执行maven命令 mybatis-generator:generate -e

相关文档

猜你喜欢

转载自blog.csdn.net/qq_18860653/article/details/79391270