摘要:
STEP 1. 在maven项目的pom.xml 添加mybatis-generator-maven-plugin 插件 [html] view plain copy <build> <finalName>xxx</finalName> <plugins> <plugin> <groupId>org 阅读全文
摘要:
今天来介绍下怎么用mybatis-gennerator插件自动生成mybatis所需要的dao、bean、mapper xml文件,这样我们可以节省一部分精力,把精力放在业务逻辑上。 之前看过很多文章,都是借助eclipse或者IDEA等其他工具,今天讲的这个方法是,直接在命令提示符下运行。 程序打 阅读全文