1、Mybatis是什么?能做什么?和hibernate相比有什么优势。
2、Mybatis3.2之前的版本地址https://code.google.com/p/mybatis/,3.2之后地址https://github.com/mybatis
3、今天分享的内容mybatis-3,generator,与spring整合
插件的下载地址https://github.com/mybatis/generator/tree/master/eclipse/UpdateSite
或者http://mybatis.googlecode.com/svn/sub-projects/generator/trunk/eclipse/UpdateSite/(旧)
4、上项目
相关jar包 mysql-connector-java-5.1.22-bin.jar mybatis-3.2.3.jar log4j-api-2.0-beta9.jar log4j-core-2.0-beta9.jar
mybatis.xml mybatis的配置文件
generatorConfig.xml 自动生成代码的配置文件