自动生成Mapper和Entity工具MybatisGenerator的使用

           新建一个XML文件crmGeneratorConfig.xml,文件具体内容如下。把MybatisGenerator.zip解压出来,把MybatisGenerator文件夹复制到Eclipse安装目录下的dropins文件夹即可,重启Eclipse。在Eclipse中右击crmGeneratorConfig.xml,选择Generate Mybatis/IBATiS Artifacts即可 

     crmGeneratorConfig.xml 

 此jar包可自行下载

 

原文地址:https://www.cnblogs.com/vanl/p/5415837.html