            ------
            Release Notes
            ------
            Naoki Takezoe
            ------
            2010-05-02

Release Notes

* {1.1.0 - 15 Jan 2011}

 * Primary key generation support

  * {{{apidocs/jp/sf/amateras/mirage/annotation/PrimaryKey.html}@PrimaryKey}} annotation has new attributes generationType and generator.
    The generationType attribute supports GenerationType.APPLICATION, GenerationType.IDENTIY and GenerationType.SEQAUENCE.

  * The persistent attribute of @PrimaryKey annotation has been removed.

 * Improvement of unit testing support

  * Verification methods of {{{apidocs/jp/sf/amateras/mirage/test/MirageTestContext.html}MirageTestContext}} have been enhanced.

 * New ConnectionProvider implementations to look up JNDI

  * {{{apidocs/jp/sf/amateras/mirage/provider/JNDIDataSourceConnectionProvider.html}JNDIDataSourceConnectionProvider}}

  * {{{apidocs/jp/sf/amateras/mirage/provider/JNDIXADataSourceConnectionProvider.html}JNDIXADataSourceConnectionProvider}}

 * New Dialect

  * {{{apidocs/jp/sf/amateras/mirage/dialect/MySQLDialect.html}MySQLDialect}}

 []

* {1.0.6 - 2 Jan 2011}

 * Unit Testing support

   * Add {{{apidocs/jp/sf/amateras/mirage/test/MockSqlManager.html}MockSqlManager}} which is used in unit testing instead of SqlManager.
     See details about Unit Testing support at the {{{unittest.html}UnitTest}} section.

 * Ant Task

   * Add {{{apidocs/jp/sf/amateras/mirage/tool/EntityGenTask.html}EntityGenTask}} for entity generation.

 []

* {1.0.5 - 5 Oct 2010}

 * Add new methods to SqlManager for batch insert/update/delete entities:

   * {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#insertBatch(java.util.List)}SqlManager#insertBatch()}}

   * {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#updateBatch(java.util.List)}SqlManager#updateBatch()}}

   * {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#deleteBatch(java.util.List)}SqlManager#deleteBatch()}}

 * BugFix: NullPointerException which is caused in conversion from NULL column value to java.util.Date.

 * Possible to specify @In, @Out, @InOut, @ResultSet for setter / getter method.

 * Add new annotations @Table, @Column. These annotation are used to specify table and column name.

 * Entity Generation Tool (Experimental). See the {{{apidocs/jp/sf/amateras/mirage/tool/EntityGen.html}EntityGen Javadoc}} to know how to use it.

 []

* {1.0.4 - 1 Sep 2010}

 * JavaSE 5 support (Mirage 1.0.3 and before work with only JavaSE6)

 * BugFix: Map which contains null properties causes NullPointerException in  SqlManager#executeUpdate()

 * BugFix: When the column value is NULL then Mirage sets the default value of primitive types to entity wrapper type properties.

 * Add new methods to SqlManager for direct sql execution:

    * {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#getResultListBySql(java.lang.Class, java.lang.String, java.lang.Object...)}SqlManager#getResultListBySql()}}

    * {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#getSingleResult(java.lang.Class, java.lang.String, java.lang.Object)}SqlManager#getSingleResultBySql()}}

    * {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#iterateBySql(java.lang.Class, jp.sf.amateras.mirage.IterationCallback, java.lang.String, java.lang.Object...)}SqlManager#iterateBySql()}}

    * {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#executeUpdateBySql(java.lang.String, java.lang.Object...)}SqlManager#executeUpdateBySql()}}

 []

* {1.0.3 - 15 Jun 2010}

  * Iteration search per a record using cursor.
    See {{{apidocs/jp/sf/amateras/mirage/IterationCallback.html}IterationCallback}} and
    {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#iterate(java.lang.Class, jp.sf.amateras.mirage.IterationCallback, java.lang.String, java.lang.Object)}SqlManager#iterate()}}.

  * Stored procedure / function support.

  * BugFix about SqlManager#insertEntity().

  []

* {1.0.2 - 8 May 2010}

  * Dependency to Spring Framework and Guice became optional.

  * Dependency to the patched OGNL changed to OGML 2.7.3.

  * BugFix about BLOB support.

  []

* {1.0.1 - 2 May 2010}

  * Use java.util.logging instead of slf4j / logback to remove them from dependency.

  * Simple example and documentation for Google Guice integration.

  * It's possible to specify a transient property by transient modifier instead of {{{apidocs/jp/sf/amateras/mirage/annotation/Transient.html}@Transient}} annotation.

  * Add new method {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#findEntity(java.lang.Class, java.lang.Object...)}SqlManager#findEntity(Class clazz, Object... id)}}

  * Add new method {{{apidocs/jp/sf/amateras/mirage/SqlManager.html#getCount(java.lang.String, java.lang.Object)}SqlManager#getCount(String sqlPath[, Object param])}}

  * {{{apidocs/jp/sf/amateras/mirage/type/ValueType.html}ValueType}} interface to add custom value type support

  * BLOB support

  []

* {1.0.0 - 20 Apr 2010}

  * Initial Release.

  []

