Saturday, October 11, 2014

MyBatis 3.2.8 Released!

Dear Community,

We have just released MyBatis 3.2.8.

Yet another bug fix release. Provides 8 minor bug fixes. See the details at https://github.com/mybatis/mybatis-3/issues?q=milestone%3A3.2.8

It is available as usual in Github and Maven Central.

Sincerely,
The MyBatis Team.

Saturday, September 13, 2014

MyBatis in Practice book available





MyBatis in Practice book illustrates the use of MyBatis framework and its dependent technologies. This book provides a step-by-step approach for developing applications using MyBatis framework. It is specially designed to help the individuals who want to learn MyBatis-3 framework.

This book covers the MyBatis framework-related technology standards such as introduction to MyBatis, MyBatis support for executing select, insert, delete, and update statements, MyBatis-provided annotations, MyBatis support for executing stored procedures and functions, MyBatis integration with Spring, MyBatis integration with Velocity, MyBatis-Spring support for transaction management, and migration from iBatis to MyBatis. A step-by-step approach is followed throughout and this book contains approximately 50 Java programs for a better understanding of the topics.

The following topics are covered in this book.
  • Introduction to MyBatis 
  • Database Operations (CRUD) 
  • MyBatis Annotations 
  • MyBatis - Executing Stored Procedures and Functions 
  • MyBatis-Spring Transaction Management 
  • MyBatis with Velocity 
  • Migrating from iBatis to MyBatis

More details at:

Monday, April 7, 2014

MyBatis 3.2.7 Released

Dear commuity,

We have released MyBatis 3.2.7 as a hotfix to solve the issue #167 that breaks the @One annotation.

See the details at https://github.com/mybatis/mybatis-3/issues?milestone=8&state=closed

It is available as usual in Github and Maven Central.

Thank you very much for your support and enjoy!

Tuesday, March 25, 2014

MyBatis-Guice 3.6 Released!

Dear Community,

We are proud to announce the release of MyBatis-Guice 3.6.

Provides some new features:
  • @Transactional annotation can be used on a class to make all methods transactional
  • Allow binding of a custom SqlSessionFactory
  • Allow binding of a custom DatabaseIdProvider
  • Some other minor improvements 

 See the details at https://github.com/mybatis/guice/issues?milestone=3&state=closed

For users of JndiDataSourceProvider, "jndi.dataSource" property is now required. See issue #19.

It is available in Github and Maven Central.

Big thanks for your support and enjoy!

Friday, March 21, 2014

MyBatis 3.2.6 Released!

Dear Community,

We are proud to announce the release of MyBatis 3.2.6.

Provides some new features:
  • Caches nested selects 
  • Lazy loading can be enabled only for specific relations 
  • Supports returning multiple fields in a select key 
  • Some other minor improvements 

See the details at https://github.com/mybatis/mybatis-3/issues?milestone=6&state=closed 

A note for users who implemented their own caches or 3rd party cache adapters. MyBatis no longer calls Cache#getReadWriteLock(). Any locking needed by the cache should be implemented internally by the cache. So in case you coded your own cache make sure it is properly synchronized. See issue #159.

It is available in Github and Maven Central.

Big thanks for your support and enjoy!

MyBatis Hazelcast adapter 1.1.0 released

Dear community,

We have just released the 1.1.0 version of the Hazelcast adapter.

It adds support for Hazelcast 3.x and client mode.

It is available in Github and Maven Central. Enjoy!

MyBatis Memcached adapter 1.0.0 released

Dear community, 

We have just released the 1st GA version of the MyBatis Memcached adapter.

The beta has been around for almost one year and only one issue was reported.

It is available in Github and Maven Central.

Thanks and enjoy!

Tuesday, March 18, 2014

migrations-maven-plugin 1.1.2

We have released migrations-maven-plugin 1.1.2.
This minor update fixes a bug reported soon after the last release.

Enjoy!

Saturday, February 15, 2014

MyBatis 3.2.5 Released!

Dear Community,

We have just released MyBatis 3.2.5.

Provides 7 bug fixes, 4 of them are regressions coming from 3.2.3 and 3.2.4. See the details at https://github.com/mybatis/mybatis-3/issues?milestone=5&state=closed

It is available in Github and Maven Central.

Sincerely,
The MyBatis Team.

Thursday, February 6, 2014

New Eclipse plugin for MyBatis : MyBatipse

In this first release, auto-completion and validation are the two main features.
The auto-completion works in various places.


And the validation detects simple mistakes before launching the application.


You can install it from the Eclipse Marketplace.


Please see the README for more details.

Enjoy :-)

Saturday, January 25, 2014

Migrations 3.2.0 Released!

Adds support for runtime schema upgrade (a.k.a. in-app migration).

If you distributed your application in binary form (e.g. WAR or JAR) and want to make some changes to the database schema after the initial release, that's where the Runtime Schema Upgrade helps.

Download: https://github.com/mybatis/migrations/releases

See the changes:
https://github.com/mybatis/migrations/issues?milestone=1&page=1&state=closed

Not familiar with MyBatis Migrations?

MyBatis Migrations is a Java command line tool that keeps track of database schema changes managing DDL files (known as migrations). Allows to query the current status of the database, apply schema changes and also undo them. It also helps to detect and solve concurrent database schema changes made by different developers.

Better watch the video!



Sunday, January 19, 2014

MyBatis CDI Extension 1.0-beta1 Released

The MyBatis Team is pleased to announce the first release of the mybatis-cdi extension.

It is pretty easy and just works! Look at the documentation: http://mybatis.github.io/cdi/getting-started.html

New releases: spring-1.2.2, scala-1.0.2 and migrations-maven-plugin 1.1.1

Hooray!!!! another round of releases!

- spring 1.2.2

Bugfixes and small improvements
https://github.com/mybatis/spring/issues?milestone=2&state=closed

- scala 1.0.2

Bugfixes and small improvements
https://github.com/mybatis/scala/issues?page=1&state=closed

- migrations-maven-plugin 1.1.1

Compatible with the new Migrations version.
https://github.com/mybatis/migrations-maven-plugin/issues?page=1&state=closed

Enyoy,

MyBatis Team.

Friday, January 17, 2014

MyBatis 3.2.4 Released!

Dear Community,

We would like to announce the release of MyBatis 3.2.4.

Provides some minor bug fixes and enhacements. See the details at https://github.com/mybatis/mybatis-3/issues?milestone=4&page=1&state=closed

An special remark about issue #98. In order to improve performance, some statement parsing logic has been moved to the startup process when no dynamic blocks are detected. For that purpose the value of the "parameterType" attribute is used if present (though it is still optional). This value was ignored before so in case you had a wrong value for it you will have to change it.

It is available in Github and Maven Central.

Sincerely,
The MyBatis Team.