Wednesday, July 20, 2016

MyBatipse (Eclipse plugin) is updated to 1.0.21.

Dear Eclipse users,

We have released version 1.0.21 of MyBatipse.
Just a minor update this time.
  • 'Move annotation statement to XML' should handle List and Map return type correctly.
Please see the GitHub page for the general information.

Enjoy!

Sunday, June 26, 2016

MyBatis 3.4.1 and TypeHandlers-JSR310 1.0.1 are released!

Dear Community,

We are pleased to announce that MyBatis 3.4.1 and MyBatis-TypeHandlers-JSR310 1.0.1 are released.

MyBatis 3.4.1 includes four user visible enhancements
  • 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
and six bug fixes.
  • 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
Note that there is a change that may break existing code.
  • If a project uses legacy style 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.
See the details at the project's tracker

MyBatis-TypeHandlers-JSR310 1.0.1 provides two new type handlers.
  • YearTypeHandler for java.time.Year
  • MonthTypeHandler for java.time.Month
Non-maven users can download the binary distribution from Github releases page of each project.

And big thanks to those who contributed by sending pull requests, reporting issues and adding comments!

Enjoy!

Saturday, June 25, 2016

MyBatis Generator Version 1.3.3 Released!

Dear community,

At long last there is a new version of MyBatis Generator.  This release includes quite a few bug fixes and enhancements.

The Eclipse feature has also been updated and has a new home on Bintray.

All the details are available on the GitHub release page here:

https://github.com/mybatis/generator/releases/tag/mybatis-generator-1.3.3

Enjoy!

Tuesday, June 21, 2016

MyBatipse (Eclipse plugin) is updated to 1.0.20.

Dear Eclipse users,

We have released version 1.0.20 of MyBatipse.
  • Smart-copy in Console View that translates debug output as an executable SQL statement.
  • Wizard to create a new XML mapper file.
  • Quick fix to move a statement from annotation to XML.

Please see the GitHub page for the details.

Enjoy!

Saturday, June 11, 2016

MyBatis Migrations 3.2.1 and Migrations Maven Plugin 1.1.3 released!

Dear Community,

We have just released MyBatis Migrations 3.2.1 and Migrations Maven Plugin 1.1.3.
The release notes have links to the related issues:
Thank you for reporting bugs, sending PRs and comments!

Enjoy!