Sunday, March 11, 2018

MyBatis 3.4.6 released!

Dear Community,

We are pleased to announce the release of MyBatis 3.4.6.
Here is the list of user visible changes.

  • Apply custom ResultHandler to CURSOR type OUT parameter. #493
  • Substitute variables in attribute values of included SQL fragments. #1069
  • BatchExecutor now closes each statement immediately after execution. #1110
  • It is now possible to use a static method as SQL provider. #1131
  • SQL provider method can now return CharSequence instead of String. #1134
  • Add resource path to the exception message when parsing XML mapper failed. #1172
Bug fixes:
  • Registering type handler against HashMap causes ClassCastException. #1089
  • Unable to register TypeHandler once TypeHandlerRegistry.hasTypeHandler is called. #1177
  • Serializing and deserializing cached objects causes NullPointerException. #1084
  • Invalid error message 'Two methods with same method signature but not providing classes assignable?' in System.err. #929
There is no known backward incompatible change since 3.4.5.
Follow this link to see the full list of changes.
Binaries are available on the release page and Maven Central.

Many thanks to those who reported issues, sent pull requests or participated in discussions!

3.4.6 will be the last version that supports Java 6.

The MyBatis Team

No comments:

Post a Comment