发布于 2016-06-27 02:36:07 | 115 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的MyBatis教程,程序狗速度看过来!

MyBatis 基于Java的持久层框架

MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software foundation 迁移到了google code,并且改名为MyBatis 。


MyBatis 3.4.1 和 TypeHandlers-JSR310 1.0.1 发布了,更新如下:

MyBatis 3.4.1 包括四个用户可见的改进:

  • Allow referencing parameters by their declared names when compiled with Java 8 '-parameters' option. #549

  • Added auto-detection of Year/MonthTypeHandler added in mybatis-typehandlers-jsr310 1.0.1. #646

  • @Select statement can now return an array of objects. #669

  • Allow specifying custom 'reflectorFactory' in XML config. #657

和六个bug修复:

  • Circularly referenced resultMap was filled with ancestor object even when columnPrefix was specified. #215

  • Select statement with @Param couldn't be used as a nested select statement of association. #649

  • RuntimeException was thrown when launching application on IBM WebSphere Application Server 8.5.5.9. #706

  • Couldn't use Cursor as the return type of @Select statements. #661

  • Couldn't use RowBounds as a parameter of select statement whose return type is Cursor. #667

  • NullPointerException was thrown when used with Kylin JDBC driver. #699

请注意,有可能会破坏现有的代码的变化:

  • If a project uses legacy   parameter references with index numbers (i.e. #{0}, #{1}, ...) and is compiled with '-parameters' option, you may have to set useActualParameterName to false in the config.

详情请看 the project's tracker

MyBatis-TypeHandlers-JSR310 1.0.1 提供了两个类型处理器:

  • YearTypeHandler for java.time.Year

  • MonthTypeHandler for java.time.Month

了解详情,访问http://blog.mybatis.org/2016/06/dear-community-we-are-pleased-to.html



历史版本 :
Mybatis 通用 Mapper 3.4.5 发布,增加代码生成器插件
MyBatis 逆向工程 MyBatis-CMEU v2.1.2 发布
Mybatis 分页插件 PageHelper 5.1.2 发布
mybatis-plus 2.1.1 发布,新增 mybatis 多租户 SQL 解析
MyBatis-Guice 3.10 发布,修复多项错误
mybatis-plus 2.1.1-SNAPSHOT,代号:小锅盖
MyBatis Ignite 1.0.6 发布,MyBatis 缓存插件
MyBatis 3.4.5 发布,Java 数据持久层框架
mybatis-plus 2.1.0 发布,代号:小秋秋
MyBatis 逆向工程 MyBatis-CMEU v2.1.0 发布
Mybatis 分页插件 PageHelper 5.0.4 发布
Mybatis-Plus 2.0.9 发布,简化开发 mybatis 快速入门
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务