Mybatis反向工程

1.创建如下目录

      

2配置config.xml中的数据

     主要是数据库和表的配置

3执行操作中的方法,就会在该目录的src下面生成对应的map文件和map接口,,以及domain文件

代码见:git clone  git@github.com:fangandwei/mybatis-generate.git

原文地址:https://www.cnblogs.com/fdbk/p/8941640.html