Monday, September 10, 2012

Schema Migrations 3.1.0 Released!

I've just released MyBatis Schema Migrations 3.1.0.  It contains mostly bug fixes, but is also the first release since splitting it out into its own sub-project. It also contains a number of improved defaults in the environment properties files.

http://code.google.com/p/mybatis/wiki/Migration

I plan to do an updated tutorial video with narration to help new users.

Enjoy!

Note: The Maven release and thus the Maven plugin have not been updated yet.


Wednesday, August 8, 2012

Mybatis for Scala (beta2) Code samples moved to github


Dear Scala Users,

In order to make it easier to try the scala code samples, we have published an updated version to github.

https://github.com/mnesarco/mybatis-scala-samples-beta2


Enjoy it.

Thursday, July 26, 2012

[ANN] Mybatis For Scala Beta2 Released

Well, finally, the beta2. It includes some bug fixes and some new features.

All Changes:
http://www.mybatis.org/scala/mybatis-scala-core/changes-report.html

Documentation is not very complete now, but we have added more examples, I hope they are very easy to follow.

All sample code were moved to hsqldb, so it will be easy to try them.

All artifacts are in maven central repos.

Core:
    <groupId>org.mybatis.scala</groupId>
    <artifactId>mybatis-scala-core</artifactId>
    <version>1.0-beta2</version>

Samples:
    <groupId>org.mybatis.scala</groupId>
    <artifactId>mybatis-scala-samples</artifactId>
    <version>1.0-beta2</version>

Thanks to Bryan Hunt and Or Peles for its valuable contributions.

Cheers,

Mybatis Team.

Sunday, July 1, 2012

Happy Birthday to MyBatis - 10 years

10 years ago today, the very first version of MyBatis was released to the public.  Then called "The iBATIS Database Layer", the library wasn't actually released as a separate product on this day.  Rather it was included in JPetStore as the curious persistence library that caught the eye of many Java developers that read the original whitepaper.

It was originally posted on TSS: http://www.theserverside.com/discussions/thread.tss?thread_id=14243

The white paper that started it all is here:  http://www.clintonbegin.com/downloads/JPetStore-1-2-0.pdf

After seeing the reaction from the community I released the persistence framework separately on a private server, and eventually on SourceForge about 6 months later. You can still go and grab version 1.1 if you like:

http://ibatisdb.cvs.sourceforge.net/viewvc/ibatisdb/ibatisdb/

Not long after that, I was at a conference in New York where I met Ted Husted.  He educated me on the merits of the Apache Software Foundation and invited me to submit iBATIS to the Apache Incubator project, and ultimately we became a TLC.  We spent about 6 years as an Apache project.

All good things come to an end though. We evolved in a different direction than the Apache Software Foundation, and thus the team voted to leave the ASF.  iBATIS is now in the attic at Apache, as you can see by the large red banner at the top of the now retired Apache iBATIS homepage.

http://ibatis.apache.org/

Open source is not without its lawyers, and thus we had to leave the name iBATIS behind with the ASF -- even though we brought it in. Funny how that works.

But no matter, MyBatis was born! It is a more appropriate name anyway, leaving the roots in cryptography behind it. As it turned out - thanks to a number of our creative team members - we ended up with a way cooler logo too!  In addition we grew our team and created a number of sub-projects, all happily hosted at Google Code.  

What does the future hold?  MyBatis 3 is by far the best version ever.  It is the most active, stable and feature rich of any previous release.  This is all thanks to our hard working team.  So why mess with something like that?

Well, my guess is that some of the cool features of Java 8 will open new doors for MyBatis.  The new API possibilities will likely be too tempting to ignore, and thus I would imagine MyBatis 4 will begin sometime after Java 8 arrives.  Whatever the future holds, I hope it's a lot of fun and continues to offer a great deal of value to our users.

Cheers,
Clinton

Tuesday, May 29, 2012

Tuesday, April 24, 2012

MyBatis-memcached module 1.0.0-beta1 available


we have finally made available a first beta of MyBatis-Memcached
integration module, you can find more details on the related site

Please take in consideration that the beta status is because we
recently migrated an old code to the MyBatis SVN, and we are not sure
we missed something before announcing a proper release.

As always, feedbacks/suggestions/proposals/... are always welcome, so
don't be shy and help us making MyBatis a better ecosystem :)

-Simo, on behalf of the MyBatis team

Sunday, April 22, 2012

MyBatis-Spring 1.1.1 released

Dear Community,

MyBatis Team is pleased to announce the release of MyBatis-Spring 1.1.1

See the details of this release in the tracker.

As usually it is available in the downloads section and in maven central repository.

Thank your all for your contributions and help!

Monday, April 16, 2012

MyBatis 3.1.1 released

Dear MyBatis Community,

The team is pleased to announce the release of MyBatis 3.1.1.

This maintenance release includes many fixes and improvements.
Please see the tracker for the full list of changes.

The release can be found in the Maven central repositories or as a bundle distribution.

Sincerely,
MyBatis Team

Wednesday, April 11, 2012

MyBatis-Guice 3.3 Released!


The MyBatis team is pleased to announce the mybatis-guice-3.3 release!

Changes in this version include:

New features:
o Added resources/JDBC custom ClassLoader support.
o Inject dependencies in TypeHandlers defined in the XML

Fixed Bugs:
o Missing mapUnderscoreToCamelCase property in mybatis-guice. [Issue 422].

Changes:
o Made org.mybatis.guice.datasource.c3p0.C3p0DataSourceProvider
username/password optional
       (users can specify them in the JDBC URL).
o Made org.mybatis.guice.datasource.dbcp.BasicDataSourceProvider
username/password optional
       (users can specify them in the JDBC URL).
o Made org.mybatis.guice.datasource.dbcp.DriverAdapterCPDSProvider
username/password optional
       (users can specify them in the JDBC URL).
o Made org.mybatis.guice.datasource.builtin.PooledDataSourceProvider
username/password optional
       (users can specify them in the JDBC URL).
o Made org.mybatis.guice.datasource.builtin.UnpooledDataSourceProvider
username/password optional
       (users can specify them in the JDBC URL).
o Internal code polishing.


Have fun!
-Simo, on behalf of MyBatis team

Monday, March 12, 2012

MyBatis-Spring 1.1.0 released


Dear Community,

MyBatis Team is pleased to announce the release of MyBatis-Spring 1.1.0

This release is mostly provided to support MyBatis 3.1.0.

See the details of this release in the tracker.

As usually it is available in the downloads section and in maven central repository.

Thank your all for your contributions and help!

Sunday, March 11, 2012

MyBatis 3.1.0 released


Dear community,

MyBatis Team is pleased to announce the release of MyBatis 3.1.0

This version fixes a long list of bugs and provides new features like multi-db support, improved Jdbc3 key generation support, Scala support, selective logging, child-parent relations on joins, performace optimizations and some others. See the details in the tracker.

As usually it is available in the downloads section and in maven central repository.

Note that MyBatis bundle no longer includes the Migrations tool. Migrations 3.1.0 will be released as a separated module in a few days.

A note about upgrading from 3.0.x to 3.1.x. 

3.1 should be a drop-in in almost all cases but there is a reason for the version number change so be aware of the following points.

Fix for issue #168 may cause a change in the number of nested instances returned by a query with nested resultmaps in specific (not very common) circumstances.

Some internal object signatures have changed so check your plugins in case you are using any. 

These interfaces have been changed:
- Transaction/TransactionFactory -> new method to create a Transaction out of a DataSource
- ObjectFactory -> new method isCollection()
- TypeHandler -> new method to get values by index

Dependencies: If you are using MyBatis-Spring 1.0.x upgrade it to 1.1.0 that will be available in a short time.

Thank your all for your contributions and help!