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

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

     crmGeneratorConfig.xml 

 此jar包可自行下载

 

posted @ 2016-04-21 10:06  夏日树叶  阅读(370)  评论(0编辑  收藏  举报