1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 MyBatis 3.4.1 和 TypeHandlers-JSR310 1.0.1 发布 下载

本帖由 漂亮的石头2016-06-27 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,720
    赞:
    47
    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 3.4.1 和 TypeHandlers-JSR310 1.0.1 发布下载地址
     
正在加载...