MyBatis 3.4.1 和 TypeHandlers-JSR310 1.0.1 发布 - 开源中国社区
Float_left Icon_close
MyBatis 3.4.1 和 TypeHandlers-JSR310 1.0.1 发布
oschina 2016年06月27日

MyBatis 3.4.1 和 TypeHandlers-JSR310 1.0.1 发布

oschina oschina 发布于2016年06月27日 收藏 16 评论 3

阿里云高性能云服务器,2折起! >>> >>>  

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:MyBatis 3.4.1 和 TypeHandlers-JSR310 1.0.1 发布
分享
评论(3)
最新评论
0
中央库现在貌似还没有
0
3.2能直接up?
0
MyBatis 3.4.1有4了?好吧升级挺快的,看看更新了什么
顶部