MyBatis 3.4.6发布,Java数据持久层框架

作者: baihuo 2018-03-12 09:05:52
MyBatis 3.4.6 发布了。主要更新内容如下:

提升

将自定义ResultHandler应用于CURSOR类型OUT参数。

在包含的SQL片段的属性值中替换变量。

BatchExecutor现在在执行后立即关闭每个语句。

现在可以使用静态方法作为SQL提供程序。

SQL 提供者方法现在可以返回CharSequence而不是String。

解析XML映射器失败时,将资源路径添加到异常消息。

Bug 修复:

Registering type handler against HashMap causes ClassCastException.

Unable to register TypeHandler once TypeHandlerRegistry.hasTypeHandler is called.

Serializing and deserializing cached objects causes NullPointerException.

Invalid error message 'Two methods with same method signature but not providing classes assignable?' in System.err.

软件详情:http://blog.mybatis.org/2018/03/mybatis-346-released.html

下载地址:https://github.com/mybatis/mybatis-3/releases/download/mybatis-3.4.6/mybatis-3.4.6.zip

来自:开源中国社区

相关资讯