batch update
批量更新
eg:
1  | update table_post p  | 
mapper中batch update写法:
1  | <update id="batchUpdate"  parameterType="java.util.List"> | 
TIP:数据库连接必须配置:&allowMultiQueries=true
文档
中文文档
http://www.mybatis.org/mybatis-3/zh/
mybatis-spring
http://www.mybatis.org/spring/zh/
MyBatis Generator
http://www.mybatis.org/generator/
http://generator.sturgeon.mopaas.com/