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!