1、下载MyBatisGenerator-1.3.1插件
2、在eclipse --> links目录下,打开mybatis.link文件配置插件的路径 path=F:\eclipse\eclipse\MyBatisGenerator-1.3.1
3、配置xml文件,入下所示
3、创建一个用于分页的实体类对象,在包com.ccssoft.mybatis.generater.plugin下,代码在“我的代码片”里。
转载请注明原文地址: https://ju.6miu.com/read-35305.html