SpringBoot使用Mybatis-Generator
SpringBoot使用Mybatis-Generator
目录SpringBoot使用Mybatis-Generator一、Mybatis-Generator是什么?二、使用步骤1.新建好spring boot项目后在pom文件引入依赖2.创建数据库数据表3.创建generatorconfig.xml文件4.运行总结
一、Mybatis-Generator是什么?
Mybatis-Generator是Mybatis提供的一个便捷型插件,自动可以为项目生产对应的实体类,Mapper,dao层。
官网文档:
原创
2021-02-25 14:52:37 ·
998 阅读 ·
0 评论