最近公司打算使用MyBatis开发新平台,初学Mybatis只是简单的从网络上查找了一下自己感觉比较实用的资料做个记录
MyBatis Generator大大简化了MyBatis的数据库的代码编写,有了一个配置文件,就可以直接根据表映射成实体类、Dao类和xml映射。
资源地址:
MyBatis项目地址:http://mybatis.github.io/
MyBatis中文使用文档:http://mybatis.github.io/mybatis-3/zh/index.html
MyBatis Generator使用文档:http://mybatis.github.io/generator/index.html
MyBatis Generator的Eclipse插件地址:http://mybatis.googlecode.com/svn/sub-projects/generator/trunk/eclipse/UpdateSite/由于长城防火墙现在更新不了只能去其他网上下载https://github.com/mybatis/generator/releases
MyBatis 实例
http://www.cnblogs.com/xdp-gacl/p/4261895.html
两种使用Mybatis-Generator自动生成Dao、Model、Mapping方式
http://www.cnblogs.com/smileberry/p/4145872.html
http://blog.sina.com.cn/s/blog_6f7265cf0102v7qa.html
希望对需要的有所帮助