tag:blogger.com,1999:blog-85615902891868244842024-03-08T17:49:43.488+00:00The MyBatis BlogThe MyBatis data mapper framework makes it easier to use a relational database with object-oriented applications. MyBatis couples objects with stored procedures or SQL statements using a XML descriptor. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping tools.Anonymoushttp://www.blogger.com/profile/00558779246463349899noreply@blogger.comBlogger98125tag:blogger.com,1999:blog-8561590289186824484.post-3090708775244452902022-09-18T22:52:00.001+01:002022-09-18T22:52:26.300+01:00MyBatis 3.5.11 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.11.<br />
The below is the list of notable changes.<br /><br />
Bug fixes:<br />
<ul>
<li>OGNL could throw IllegalArgumentException when invoking inherited method. <a href="https://github.com/mybatis/mybatis-3/issues/2609" target="_blank">#2609</a></li>
<li><code>returnInstanceForEmptyRow</code> is not applied to constructor auto-mapping. <a href="https://github.com/mybatis/mybatis-3/issues/2665" target="_blank">#2665</a></li>
</ul>
There also are many contributions with doc updates and code improvements!
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.11" target="_blank">3.5.11 milestone page</a> for the complete list of changes.<br />
There is no known backward incompatible change since 3.5.10.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.11" target="_blank">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.11" target="_blank">Maven Central</a>.<br /><br />
We thank everyone reported issues, shared ideas and answered questions from other users! 👏<br /><br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-51655263424165011612022-05-23T21:39:00.000+01:002022-05-23T21:39:40.348+01:00MyBatis 3.5.10 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.10.<br />
The below is the list of notable changes.<br /><br />
Bug fixes:<br />
<ul>
<li>Unexpected illegal reflective access warning when calling method in `test` expression. <a href="https://github.com/mybatis/mybatis-3/issues/2392" target="_blank">#2392</a></li>
<li>IllegalAccessException when auto-mapping Records (JEP-359). <a href="https://github.com/mybatis/mybatis-3/issues/2195" target="_blank">#2195</a></li>
<li>'interrupted' status is not set when `PooledConnection#getConnection()` is interrupted. <a href="https://github.com/mybatis/mybatis-3/issues/2503" target="_blank">#2503</a></li>
</ul>
Enhancements:<br />
<ul>
<li>A new option `argNameBasedConstructorAutoMapping` is added. If enabled, constructor argument names are used to look up columns when auto-mapping. <a href="https://github.com/mybatis/mybatis-3/issues/2192" target="_blank">#2192</a></li>
<li>`<idArg />` can now be listed after `<arg />` in `<constructor />`. <a href="https://github.com/mybatis/mybatis-3/issues/2541" target="_blank">#2541</a></li>
<li>Added a new property `skipSetAutoCommitOnClose` to `JdbcTransactionFactory`. Skipping `setAutoCommit()` call could improve performance with some drivers. <a href="https://github.com/mybatis/mybatis-3/issues/2426" target="_blank">#2426</a></li>
</ul>
There also are many contributions with doc updates and code improvements!
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.10" target="_blank">3.5.10 milestone page</a> for the complete list of changes.<br />
There is no known backward incompatible change since 3.5.9.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.10" target="_blank">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.10" target="_blank">Maven Central</a>.<br /><br />
We thank everyone reported issues, shared ideas and answered questions from other users! 👏<br /><br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-31719753579739835462021-12-25T19:38:00.000+00:002021-12-25T19:38:07.681+00:00MyBatis 3.5.9 released!Dear Community,<br />
<br />
It has only been two weeks, but we decided to release MyBatis 3.5.9.<br />
<br />
List of changes:<br />
<ul>
<li>Add <code>nullable</code> to <code><collection /></code>. If enabled, it skips the iteration when the collection is <code>null</code> instead of throwing an exception. To enable this feature globally, set nullableOnForEach=true in the config. <a href="https://github.com/mybatis/mybatis-3/issues/1883" target="_blank">#1883</a></li>
</ul>
We also updated the version of Log4J dependency to 2.17.0.<br />
Note that the scope of Log4J dependency in MyBatis' pom.xml is 'optional' and it is very important for you to understand what it means.<br />
<ul>
<li>You can use MyBatis without Log4J.</li>
<li>Adding MyBatis to your project's dependency does not bring in Log4J implicitly.</li>
<li>Updating MyBatis version does not make your project safer because it does not affect the Log4J version in your project.</li>
<li>Regardless of the MyBatis version you are using, you can/have to update Log4J version independently.</li>
</ul>
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.9" target="_blank">3.5.9 milestone page</a> for the complete list of changes.<br />
There is no known backward incompatible change since 3.5.8.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.9" target="_blank">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.9" target="_blank">Maven Central</a>.<br /><br />
We thank you for your contribution!<br /><br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-17366417273330804072021-12-12T18:00:00.001+00:002021-12-12T18:06:50.935+00:00MyBatis 3.5.8 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.8.<br />
The below is the list of notable changes.<br /><br />
List of changes:<br />
<ul>
<li>Avoid `NullPointerException` when mapping an empty string to java.lang.Character. <a href="https://github.com/mybatis/mybatis-3/issues/2368" target="_blank">#2368</a></li>
<li>Fixed an incorrect argument when initializing static object. This resolves a compatibility issue with <a href="https://github.com/quarkiverse/quarkus-mybatis" target="_blank">quarkus-mybatis</a>. <a href="https://github.com/mybatis/mybatis-3/issues/2284" target="_blank">#2284</a></li>
<li>Performance improvements. <a href="https://github.com/mybatis/mybatis-3/issues/2297" target="_blank">#2297</a> <a href="https://github.com/mybatis/mybatis-3/issues/2335" target="_blank">#2335</a> <a href="https://github.com/mybatis/mybatis-3/issues/2340" target="_blank">#2340</a></li>
<li>And many doc updates!</li>
</ul>
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.8" target="_blank">3.5.8 milestone page</a> for the complete list of changes.<br />
There is no known backward incompatible change since 3.5.7.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.8" target="_blank">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.8" target="_blank">Maven Central</a>.<br /><br />
We thank everyone reported issues, shared ideas and answered questions from other users! 👏<br /><br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com1tag:blogger.com,1999:blog-8561590289186824484.post-4003570163620853532021-04-26T17:39:00.000+01:002021-04-26T17:39:46.763+01:00MyBatis 3.5.7 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.7.<br />
The below is the list of user visible changes.<br />
<br />
Bug fixes:<br />
<ul>
<li>Improved performance under JDK 8. <a href="https://github.com/mybatis/mybatis-3/issues/2223" target="_blank">#2223</a></li>
</ul>
<br />
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.7" target="_blank">3.5.7 milestone page</a> for the complete list of changes.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.7" target="_blank">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.7" target="_blank">Maven Central</a>.<br />
<br />
We also receive many code and documentation improvements.<br />
Thank you very much for your contributions in various forms!<br />
<br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-10675111277089513562020-10-06T21:18:00.000+01:002020-10-06T21:58:41.349+01:00MyBatis 3.5.6 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.6.<br />
The below is the list of user visible changes.<br />
<br />
Enhancements:<br />
<ul>
<li>A new configuration option <code>defaultSqlProviderType</code> is added. The specified class will be used as the SQL provider when the <code>value()</code> or <code>type()</code> is not specified in <code>@SelectProvider</code>, <code>@UpdateProvider</code>, <code>@InsertProvider</code> and <code>@DeleteProvider</code>. <a href="https://github.com/mybatis/mybatis-3/issues/1951" target="_blank">#1951</a></li>
<li>A new transaction isolation level <code>SQL_SERVER_SNAPSHOT</code> is added to <code>TransactionIsolationLevel</code> enum to support the MS SQL Server specific isolation level <code>SNAPSHOT</code>. <a href="https://github.com/mybatis/mybatis-3/issues/1973" target="_blank">#1973</a></li>
<li>When there is no <a href="https://docs.oracle.com/pls/topic/lookup?ctx=javase15&id=GUID-8296D8E8-2B93-4B9A-856E-0A65AF9B8C66" target="_blank">JEP-290 serialization filter</a> defined, a WARN level message is logged on deserializing object streams. <a href="https://github.com/mybatis/mybatis-3/issues/2079" target="_blank">#2079</a></li>
</ul>
Bug fixes:<br />
<ul>
<li>Possible <code>NoSuchPropertyException</code> under heavy load. <a href="https://github.com/mybatis/mybatis-3/issues/1648" target="_blank">#1648</a></li>
<li>Possible <code>InvalidPathException</code> when registering type aliases by specifying package name. <a href="https://github.com/mybatis/mybatis-3/issues/1974" target="_blank">#1974</a></li>
<li>Possible <code>OutOfMemoryError</code> when using <code>BlockingCache</code>. <a href="https://github.com/mybatis/mybatis-3/issues/2044" target="_blank">#2044</a></li>
</ul>
<br />
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.6" target="_blank">3.5.6 milestone page</a> for the complete list of changes.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.6" target="_blank">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.6" target="_blank">Maven Central</a>.<br />
<br />
We also receive many code and documentation improvements.<br />
Thank you very much for your contributions in various forms!<br />
<br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-35041821464225843262020-08-11T23:15:00.000+01:002020-08-11T23:15:44.248+01:00MyBatis and CockroachDBSeveral months ago, the team at <a href="https://www.cockroachlabs.com/">Cockroach Labs</a> reached out to the MyBatis developers asking if we could talk about officially supporting CockroachDB. CockroachDB is wire compatible with PostgreSQL and CockroachDB clients use the PostgreSQL JDBC driver to connect. The team at Cockroach Labs assumed that making changes in MyBatis to support CockroachDB would be relatively easy.<div><br /></div><div>We had a few conversations and it turns out that we didn't need to make <i>any</i> changes in MyBatis to support CockroachDB. I think this is a great validation of the MyBatis approach to database dialects - we don't have one! MyBatis is able to execute SQL against any database that has a JDBC driver. We leave it fully in the hands of developers to write whatever SQL they need for the target database.</div><div><br /></div><div>So our work with Cockroach Labs shifted to focus on documentation and examples. Today I'm happy to say that MyBatis has a page on the official Cockroach Labs documentation site here: <a href="https://www.cockroachlabs.com/docs/v20.1/build-a-spring-app-with-cockroachdb-mybatis.html">https://www.cockroachlabs.com/docs/v20.1/build-a-spring-app-with-cockroachdb-mybatis.html</a></div><div><br /></div><div>That page shows how to use the MyBatis Spring support to easily work with databases and it's a great example of how far these tools have come. There's no XML anywhere to be found - either for Spring or MyBatis.</div><div><br /></div><div><div><div>You can also read a blog post from Cockroach labs here: <a href="https://www.cockroachlabs.com/blog/spring-data-access-tutorials/">https://www.cockroachlabs.com/blog/spring-data-access-tutorials/</a></div><div><br /></div></div><div>I really want to thank the team at Cockroach Labs for helping us get to this point - especially Eric Harmeling, Vy Ton, and Andy Woods who have been great working partners.</div></div><div><br /></div>Jeff Butlerhttp://www.blogger.com/profile/00641704729731684411noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-50322445874713691752020-06-04T16:42:00.000+01:002020-06-04T16:42:17.779+01:00MyBatis 3.5.5 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.5.<br />
The below is the list of user visible changes.<br />
<br />
Enhancements:<br />
<ul>
<li>You can reference single `List` or `Collection` type parameter using its actual parameter name when `useActualParamName` is enabled. <a href="https://github.com/mybatis/mybatis-3/issues/1237" target="_blank">#1237</a></li>
<li>You can specify `resultMap` in `@One` and `@Many`. <a href="https://github.com/mybatis/mybatis-3/issues/1771" target="_blank">#1771</a></li>
<li>You can specify `columnPrefix` in `@One` and `@Many`. <a href="https://github.com/mybatis/mybatis-3/issues/1829" target="_blank">#1829</a></li>
<li>A new option `shrinkWhitespacesInSql` to remove extra whitespaces in SQL. <a href="https://github.com/mybatis/mybatis-3/issues/1901" target="_blank">#1901</a></li>
</ul>
Bug fixes:<br />
<ul>
<li>Possible IllegalArgumentException when using `@CacheNamespaceRef` . <a href="https://github.com/mybatis/mybatis-3/issues/1719" target="_blank">#1719</a></li>
<li>Mapper method invocation should be non-blocking (work around JDK-8161372). <a href="https://github.com/mybatis/mybatis-3/issues/1929" target="_blank">#1929</a></li>
</ul>
<br />
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.5" target="_blank">3.5.5 milestone page</a> for the complete list of changes.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.5" target="_blank">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.5" target="_blank">Maven Central</a>.<br />
<br />
We also receive many code and documentation improvements.<br />
Thank you very much for your contributions in various forms!<br />
<br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-30050570192027798702020-02-03T01:47:00.000+00:002020-02-03T01:47:44.092+00:00MyBatis 3.5.4 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.4.<br />
The below is the list of user visible changes.<br />
<br />
Enhancements:<br />
<ul>
<li>You can now omit unnecessary `@Results` and `@ConstructorArgs` annotation. <a href="https://github.com/mybatis/mybatis-3/issues/1698" target="_blank">#1698</a></li>
</ul>
Bugs:<br />
<ul>
<li></li>
<li>Avoid invoking hashCode() method when setting auto-generated keys. <a href="https://github.com/mybatis/mybatis-3/issues/1719" target="_blank">#1719</a></li>
<li>Possible ResultMapException when using nested select. <a href="https://github.com/mybatis/mybatis-3/issues/1551" target="_blank">#1551</a></li>
<li>Possible incorrect TypeVariable resolution in TypeParameterResolver. <a href="https://github.com/mybatis/mybatis-3/issues/1794" target="_blank">#1794</a></li>
<li>Race condition in TypeHandlerRegistry. <a href="https://github.com/mybatis/mybatis-3/issues/1819" target="_blank">#1819</a></li>
</ul>
<br />
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.4" target="_blank">3.5.4 milestone page</a> for the complete list of changes.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.4" target="_blank">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.4" target="_blank">Maven Central</a>.<br />
<br />
We also receive many code and documentation improvements.<br />
Thank you very much for your contributions in various forms!<br />
<br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-65206288740567546062019-10-20T12:41:00.000+01:002019-10-20T12:41:11.739+01:00MyBatis 3.5.3 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.3.<br />
The below is the list of user visible changes.<br />
<br />
Enhancements:<br />
<ul>
<li>Support variable substitution in CDATA of included <sql />. <a href="https://github.com/mybatis/mybatis-3/issues/1615">#1615</a></li>
<li>Support default method invocation on JDK 14+8 or later. <a href="https://github.com/mybatis/mybatis-3/issues/1626">#1626</a></li>
<li>Avoid illegal reflective access warning when invoking default mapper method. <a href="https://github.com/mybatis/mybatis-3/issues/1636">#1636</a></li>
<li>Ambiguous getter/setter now throws ReflectionException only when it is actually accessed. <a href="https://github.com/mybatis/mybatis-3/issues/1201">#1201</a></li>
</ul>
<br />
Bugs:<br />
<br />
<ul>
<li></li>
<li>Possible infinite loop when a SQL provider throws an exception. <a href="https://github.com/mybatis/mybatis-3/issues/1616">#1616</a></li>
<li>Unable to iterate Cursor if the next element is null. <a href="https://github.com/mybatis/mybatis-3/issues/1653">#1653</a></li>
<li>queryCursor() fails in streaming mode of MySQL Connector/J. <a href="https://github.com/mybatis/mybatis-3/issues/1654">#1654</a></li>
</ul>
<br />
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.3">3.5.3 milestone page</a> for the complete list of changes.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.3">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.3">Maven Central</a>.<br />
<br />
We also receive many code and documentation improvements.<br />
Thank you very much for your contributions in various forms!<br />
<br />
Sincerely,<br />
The MyBatis TeamIwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-12950437073667478932019-07-15T05:32:00.000+01:002019-07-15T05:32:18.060+01:00MyBatis 3.5.2 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.2.<br />
The below is the list of user visible changes.<br />
<br />
Enhancements:<br />
<br />
<ul>
<li>SQL builder now supports LIMIT, OFFSET <a href="https://github.com/mybatis/mybatis-3/pull/1521">#1521</a> and FETCH FIRST <a href="https://github.com/mybatis/mybatis-3/pull/1582">#1582</a>.</li>
<li>SQL builder now supports multi-row insert syntax <a href="https://github.com/mybatis/mybatis-3/pull/1333">#1333</a>.</li>
<li>A new property defaultNetworkTimeout has been added to the built-in data sources i.e. PooledDataSource and UnpooledDataSource <a href="https://github.com/mybatis/mybatis-3/pull/1527">#1527</a>.</li>
<li>SQL provider annotations now takes value attribute which is an alias for type <a href="https://github.com/mybatis/mybatis-3/pull/1522">#1522</a>.</li>
<li>You can now pass Java array to ArrayTypeHandler#setNonNullParameter() <a href="https://github.com/mybatis/mybatis-3/pull/1548">#1548</a>.</li>
<li>You can reference single simple type unnamed parameter with any name in OGNL expressions <a href="https://github.com/mybatis/mybatis-3/pull/1487">#1487</a>.</li>
<li>A new configuration option defaultResultSetType is added <a href="https://github.com/mybatis/mybatis-3/pull/1056">#1056</a>.</li>
</ul>
<br />
Bugs:<br />
<br />
<ul>
<li>SQL provider method with a primitive parameter causes BuilderException <a href="https://github.com/mybatis/mybatis-3/pull/1604">#1604</a>.</li>
<li>Fixes a possible NullPointerException <a href="https://github.com/mybatis/mybatis-3/pull/1590">#1590</a>.</li>
</ul>
<br />
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.2">3.5.2 milestone page</a> for the complete list of changes.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.2">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.2">Maven Central</a>.<br />
<div>
<div>
<br />
There also are various code and documentation improvements.<br />
Thank you very much for your contributions in various forms!<br />
<br /></div>
<div>
Sincerely,</div>
<div>
The MyBatis Team</div>
</div>
Iwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-20389842767183954042019-04-08T16:30:00.000+01:002019-04-08T16:30:46.209+01:00MyBatis 3.5.1 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.1.<br />
The below is the list of user visible changes.<br />
<br />
Bug fixes:<br />
<ul>
<li>keyProperty specified with parameter name could cause ExecutorException. <a href="https://github.com/mybatis/mybatis-3/issues/1485">#1485</a></li>
<li>False positive error 'Ambiguous collection type ...' . <a href="https://github.com/mybatis/mybatis-3/issues/1472">#1472</a></li>
<li>EnumTypeHandler is not used when the enum has methods. <a href="https://github.com/mybatis/mybatis-3/issues/1489">#1489</a></li>
<li>Auto-mapping fails in a result map referenced from a constructor arg with columnPrefix. <a href="https://github.com/mybatis/mybatis-3/issues/1496">#1496</a></li>
<li>Constructor auto-mapping could fail when columnPrefix is specified in the parent resultMap. <a href="https://github.com/mybatis/mybatis-3/issues/1495">#1495</a></li>
<li>LocalTimeTypeHandler loses fractional seconds part. <a href="https://github.com/mybatis/mybatis-3/issues/1478">#1478</a></li>
<li>LocalDateTypeHandler and LocalDateTimeTypeHandler could return unexpected value. <a href="https://github.com/mybatis/mybatis-3/issues/1478">#1478</a></li>
</ul>
<div>
Enhancements:</div>
<div>
<ul>
<li>You can now return 'script' from a SQL provider. The returned script is parsed using the language driver specified by @Lang. <a href="https://github.com/mybatis/mybatis-3/issues/1391">#1391</a></li>
<li>You can now omit method attribute from SQL provider annotations. <a href="https://github.com/mybatis/mybatis-3/issues/1279">#1279</a></li>
<li>You can now get databaseId in SQL providers. <a href="https://github.com/mybatis/mybatis-3/issues/1503">#1503</a></li>
<li>The default type handler for LONGVARCHAR is changed from ClobTypeHandler to StringTypeHandler. This improves compatibility with SAP ASE. <a href="https://github.com/mybatis/mybatis-3/issues/1484">#1484</a></li>
</ul>
</div>
<div>
There is one backward incompatible changes since 3.5.0.</div>
<div>
<ul>
<li>Because of the fix for <a href="https://github.com/mybatis/mybatis-3/issues/1478">#1478</a> , LocalDateTypeHandler, LocalTimeTypeHandler and LocalDateTimeTypeHandler now require a JDBC driver that supports JDBC 4.2 API.<br />[EDIT] These type handlers no longer work with <a href="https://github.com/alibaba/druid">Druid</a>. Please see <a href="https://github.com/mybatis/mybatis-3/issues/1516">#1516</a> .</li>
</ul>
To see the full list of changes, please visit the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.1">3.5.1 milestone page</a>.<br />
<div>
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.1">release page</a> and <a href="https://mvnrepository.com/artifact/org.mybatis/mybatis/3.5.1">Maven Central</a>.</div>
<div>
<br />
Thank you all for your contributions in various forms!<br />
<br /></div>
<div>
Sincerely,</div>
<div>
The MyBatis Team</div>
</div>
Iwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com2tag:blogger.com,1999:blog-8561590289186824484.post-55009647004921745562019-01-20T18:13:00.000+00:002019-01-24T06:40:25.822+00:00MyBatis 3.5.0 released!Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.5.0.<br />
This version requires Java version 8 and later.<br />
<br />
The below is the list of user visible changes.<br />
<br />
Enhancements:<br />
<ul>
<li>Avoid 'Illegal reflective access' warning on JDK 9+. <a href="https://github.com/mybatis/mybatis-3/issues/1156">#1156</a></li>
<li>Added Automatic-Module-Name : org.mybatis <a href="https://github.com/mybatis/mybatis-3/issues/1199">#1199</a></li>
<li>Support java.util.Optional as return type of mapper method. <a href="https://github.com/mybatis/mybatis-3/pull/799">#799</a></li>
<li>Avoid unnecessary wasNull() calls from the built-in type handlers. <a href="https://github.com/mybatis/mybatis-3/pull/1244">#1244</a></li>
<li>It is now possible to specify columnPrefix in constructor arguments. <a href="https://github.com/mybatis/mybatis-3/issues/968">#968</a></li>
<li>Improved reliability when searching constructor for auto-mapping. <a href="https://github.com/mybatis/mybatis-3/pull/1277">#1277</a></li>
<li>It is now possible to access private, package private and protected members in OGNL expressions. <a href="https://github.com/mybatis/mybatis-3/issues/1258">#1258</a></li>
<li>Throw exception if the specified keyProperty is not found when assigning generated keys. <a href="https://github.com/mybatis/mybatis-3/pull/1250">#1250</a></li>
<li>Added a type handler for SQLXML data type. <a href="https://github.com/mybatis/mybatis-3/pull/1221">#1221</a></li>
<li><set /> tag now trims the leading comma. <a href="https://github.com/mybatis/mybatis-3/issues/21">#21</a></li>
<li>Infer <case /> tag's resultType from the enclosing resultMap. <a href="https://github.com/mybatis/mybatis-3/issues/486">#486</a></li>
<li>Combination of @CacheNamespace and <cache-ref /> does not throw exception anymore. <a href="https://github.com/mybatis/mybatis-3/issues/1194">#1194</a></li>
<li>Support Log4J 2.6+. <a href="https://github.com/mybatis/mybatis-3/issues/1210">#1210</a></li>
<li>Slightly improved compatibility with drivers that only support JDBC 3 API. <a href="https://github.com/mybatis/mybatis-3/issues/1386">#1386</a></li>
<li>Upgraded testing framework to JUnit 5. <a href="https://github.com/mybatis/mybatis-3/issues/1425">#1425</a></li>
</ul>
<div>
Bug fixes:</div>
<div>
<ul>
<li>OffsetDateTimeTypeHandler, OffsetTimeTypeHandler and ZonedDateTimeTypeHandler loses time zone information. <a href="https://github.com/mybatis/mybatis-3/issues/1081">#1081</a></li>
<li>Avoid SQLException when using Cursor with Db2. <a href="https://github.com/mybatis/mybatis-3/issues/1345">#1345</a></li>
<li>Avoid exception when using Cursor with ReuseExecutor. <a href="https://github.com/mybatis/mybatis-3/issues/1351">#1351</a></li>
<li>RowBounds with out-of-range offset causes SQLException on Db2. <a href="https://github.com/mybatis/mybatis-3/pull/1355">#1355</a></li>
<li>Specified logging implementation is not used in some classes. <a href="https://github.com/mybatis/mybatis-3/issues/1272">#1272</a></li>
<li>Unable to resolve javaType for <association />. <a href="https://github.com/mybatis/mybatis-3/issues/1381">#1381</a></li>
<li>Deeply nested (3+ levels) result map could cause IllegalArgumentException. <a href="https://github.com/mybatis/mybatis-3/issues/1176">#1176</a></li>
<li>Generic type parameter is not correctly resolved when the class hierarchy is deeper than 3 levels. <a href="https://github.com/mybatis/mybatis-3/issues/1260">#1260</a></li>
</ul>
</div>
<div>
Please be aware that there also are some backward incompatible changes since the last release 3.4.6.</div>
<div>
<ul>
<li>Specifying keyProperty is now mandatory when using useGeneratedKeys. If you relied on the implicit default value (="id"), generated keys will be silently ignored. <a href="https://github.com/mybatis/mybatis-3/pull/1198">#1198</a></li>
<li>Using Cursor now requires a driver that supports JDBC 4.1 API. <a href="https://github.com/mybatis/mybatis-3/issues/1351">#1351</a></li>
<li>If you extended org.apache.ibatis.type.BaseTypeHandler, you might need to add wasNull() check in your type handler. <a href="https://github.com/mybatis/mybatis-3/pull/1244">#1244</a></li>
<li>The default resultSetType value has been changed from FORWARD_ONLY to UNSET. This is applied only to annotation based mappers (for XML based mappers, the default is/was UNSET). <a href="https://github.com/mybatis/mybatis-3/issues/1334">#1334</a></li>
<li>If you extended org.apache.ibatis.transaction.jdbc.JdbcTransaction for some reason, the property autoCommmit has been renamed to autoCommit. <a href="https://github.com/mybatis/mybatis-3/pull/941">#941</a></li>
</ul>
Please see the <a href="https://github.com/mybatis/mybatis-3/issues?q=is%3Aclosed+milestone%3A3.5.0">3.5.0 milestone page</a> for the complete list of changes.<br />
<div>
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.5.0">release page</a> and Maven Central.</div>
<div>
<br /></div>
<div>
As always, we thank all contributors who reported issues, sent pull requests or participated in discussions!<br />
And stay tuned for our sub-projects' updates!<br />
<br />
Sincerely,</div>
<div>
The MyBatis Team</div>
</div>
Iwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com1tag:blogger.com,1999:blog-8561590289186824484.post-41377361410404104802018-10-14T17:45:00.003+01:002018-10-14T17:45:45.923+01:00MyBatis Migrations 3.3.5 released!<div>
Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis-Migrations 3.3.5.</div>
<div>
<br />
Enhancements:</div>
<ul>
<li>'bofore_new' and 'after_new' hooks. <a href="https://github.com/mybatis/migrations/issues/106" target="_blank">#106</a></li>
<li>Print a warning when there is a skipped migration or a missing migration script. <a href="https://github.com/mybatis/migrations/pull/125" target="_blank">#125</a></li>
</ul>
<div>
Bug fixes:</div>
<ul>
<li>Possible ArrayIndexOutOfBoundsException when reading a script. <a href="https://github.com/mybatis/migrations/pull/127" target="_blank">#127</a></li>
<li>'script' command can generate incomplete script. <a href="https://github.com/mybatis/migrations/pull/121" target="_blank">#121</a></li>
</ul>
<div>
Follow this <a href="https://github.com/mybatis/migrations/milestone/9?closed=1" target="_blank">link</a> to see the full list of changes.</div>
<div>
Binaries are available on the <a href="https://github.com/mybatis/migrations/releases/tag/mybatis-migrations-3.3.5" target="_blank">release page</a> and Maven Central.<br />
<br />
Many thanks to those who reported issues, sent pull requests or participated in discussions!<br />
<br />
Sincerely,<br />
The MyBatis Team</div>
Iwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-64848724030703053952018-07-24T21:04:00.002+01:002018-07-24T21:04:28.807+01:00MyBatipse (Eclipse plugin) 1.1.2 is released!Dear MyBatis - Eclipse users,<br />
<br />
We have released version 1.1.2 of MyBatipse.<br />
<br />
Two bug fixes and a new feature:<br />
<ul>
<li>It now supports two or more XML mapper files having the same namespace. <a href="https://github.com/mybatis/mybatipse/issues/86" target="_blank">#86</a></li>
<li>Hyperlink now works in binary class editor. <a href="https://github.com/mybatis/mybatipse/issues/84" target="_blank">#84</a></li>
<li>Hyperlink now works on 'property' attribute of @Results. <a href="https://github.com/mybatis/mybatipse/issues/85" target="_blank">#85</a></li>
</ul>
Please see the <a href="https://github.com/mybatis/mybatipse/issues?q=milestone%3A1.1.2" target="_blank">GitHub page</a> for the general information.<br />
<br />
The next version of the plugin may require Java 8 and Eclipse 4.6 (Neon).<br />
<br />
Enjoy!Iwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com1tag:blogger.com,1999:blog-8561590289186824484.post-6916471300869358082018-07-04T23:39:00.000+01:002018-07-04T23:39:28.751+01:00MyBatis Generator 1.3.7 Released<div style="color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">
<span style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">There is a new release of MyBatis </span><span style="color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;"><span style="background-color: white;">Generator and a new version of the Eclipse feature is also available. This release has a few relatively minor bug fixes and enhancements - mainly </span></span><span style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">related to minor issues with the new MyBatis Dynamic SQL support.</span></div>
<div style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">
<span style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;"><br /></span><b>Important:</b> after this release, Java 8+ will be required to run the generator, and support for iBatis 2 code generation will be removed.</div>
<div style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">
<br />Detailed information about the release is on GitHub here: <a href="https://github.com/mybatis/generator/releases">https://github.com/mybatis/generator/releases</a><a data-saferedirecturl="https://www.google.com/url?q=https://github.com/mybatis/generator/releases&source=gmail&ust=1530829995051000&usg=AFQjCNEqBkcY__a1S8lsWH8UrncieSdN3w" href="https://github.com/mybatis/generator/releases" style="color: #7e57c2; position: relative; z-index: 0;" target="_blank"><br /></a></div>
<div style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">
The artifacts are in Maven central now, and the Eclipse update site has the new version as well.</div>
<div style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">
<br /></div>
<div style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">
The Eclipse marketplace site is here: <a data-saferedirecturl="https://www.google.com/url?q=http://marketplace.eclipse.org/content/mybatis-generator&source=gmail&ust=1530829995051000&usg=AFQjCNEbywy9NDNA2uGy4DuYcLC1edX04A" href="http://marketplace.eclipse.org/content/mybatis-generator" style="color: #7e57c2; position: relative; z-index: 0;" target="_blank">http://marketplace.<wbr></wbr>eclipse.org/content/mybatis-<wbr></wbr>generator</a></div>
<div style="background-color: white; color: #212121; font-family: "helvetica neue", helvetica, arial, sans-serif; font-size: 13px;">
Enjoy!</div>
<div style="height: 0px;">
<br /></div>
Jeff Butlerhttp://www.blogger.com/profile/00641704729731684411noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-27772986352830415232018-04-25T01:55:00.000+01:002018-04-25T01:55:41.771+01:00MyBatis Dynamic SQL 1.1.0 ReleasedDear Community,<br />
<br />
We are pleased to announce the release of MyBatis Dynamic SQL Version 1.1.0.<br />
<br />
This version has quite a few enhancements and two bug fixes. The most important enhancement is the addition of optional conditionals. This support allows you to code a WHERE clause that can vary based on the input values to the conditions. This can be very useful for coding searches where, for example, a conditional should only be rendered if the value is non-null. This type of support has been requested for quite some time in code created from MyBatis Generator. It wasn't feasible to do it with code generated in the old style, but is a natural addition to the MyBatis Dynamic SQL library.<br />
<br />
You can find all the details on the <a href="https://github.com/mybatis/mybatis-dynamic-sql/releases/tag/mybatis-dynamic-sql-1.1.0">GitHub release page</a>.<br />
<br />
Enjoy!<br />
<br />
<div>
<br /></div>
Jeff Butlerhttp://www.blogger.com/profile/00641704729731684411noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-66092280810290379252018-03-14T19:12:00.000+00:002018-03-14T20:01:56.216+00:00MyBatis-Spring-Boot 1.3.2 released!<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis-Spring-Boot 1.3.2.</div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">Here is the list of main changes.</span><br />
<br />
<div style="font-size: 13.2px;">
<span style="font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">Enhancements:</span></div>
</div>
<ul style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;">
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">Upgrade to Spring Boot 1.5.10 </span><a href="https://github.com/mybatis/spring-boot-starter/issues/220" style="color: #888888; font-size: 13.2px; text-decoration-line: none;" target="_blank">#220</a></li>
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">Upgrade to MyBatis 3.4.6 </span><a href="https://github.com/mybatis/spring-boot-starter/issues/212" style="color: #888888; font-size: 13.2px; text-decoration-line: none;" target="_blank">#212</a></li>
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;">Upgrade to MyBatis-Spring 1.3.2 </span><a href="https://github.com/mybatis/spring-boot-starter/issues/213" style="color: #888888; font-size: 13.2px; text-decoration-line: none;" target="_blank">#213</a></li>
</ul>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<br /></div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;">There is no known backward incompatible change since 1.3.1.</span><br />
<span style="font-size: 13.2px;">Follow this </span><a href="https://github.com/mybatis/spring-boot-starter/milestone/14?closed=1" style="color: #888888; font-size: 13.2px; text-decoration-line: none;" target="_blank">link</a><span style="font-size: 13.2px;"> to see the full list of changes.</span><br />
<span style="font-size: 13.2px;"><br /></span>
It is available on <a href="https://start.spring.io/">https://start.spring.io/</a>.</div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;"><br /></span></div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;">Thanks,</span></div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;">The MyBatis Team</span></div>
Kazuki Shimizuhttp://www.blogger.com/profile/07181055391245493486noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-83788395686967865532018-03-14T15:36:00.000+00:002018-03-20T16:31:36.041+00:00MyBatis-Migrations 3.3.2 released!<div>
Dear Community,<br />
<br />
<b>NOTE</b><br />
There was a regression in version 3.3.2 (<a href="https://github.com/mybatis/migrations/issues/117" target="_blank">#117</a>) .<br />
Please use version 3.3.3.<br />
<br />
We are pleased to announce the release of MyBatis-Migrations 3.3.2.
</div>
<div>
<br />
Enhancements:
</div>
<ul>
<li>Added '--quiet' command line option. <a href="https://github.com/mybatis/migrations/pull/92" target="_blank">#92</a></li>
<li>Added '--color' command line option. <a href="https://github.com/mybatis/migrations/pull/104" target="_blank">#104</a></li>
<li>It is now possible to specify multiple characters as a delimiter. <a href="https://github.com/mybatis/migrations/pull/96" target="_blank">#96</a></li>
<li>Hooks are now applied to 'version' and 'pending' commands as well. <a href="https://github.com/mybatis/migrations/pull/81" target="_blank">#81</a></li>
<li>Added a new environment option 'ignore_warnings'. <a href="https://github.com/mybatis/migrations/pull/85" target="_blank">#85</a></li>
<li>Migrations can now use a custom FileMigrationsLoader. <a href="https://github.com/mybatis/migrations/pull/107" target="_blank">#107</a></li>
<li>Reduced memory usage when reading a large migration script. <a href="https://github.com/mybatis/migrations/pull/101" target="_blank">#101</a></li>
</ul>
<div>
The default value of 'ignore_warnings' is 'true', so SQL warnings do not stop migration as they did in 3.3.1. See <a href="https://github.com/mybatis/migrations/pull/85" target="_blank">#85</a> for more info.<br />
<br />
Follow this <a href="https://github.com/mybatis/migrations/milestone/6?closed=1" target="_blank">link</a> to see the full list of changes.<br />
Binaries are available on the <a href="https://github.com/mybatis/migrations/releases/tag/mybatis-migrations-3.3.2" target="_blank">release page</a> and Maven Central.<br />
<br />
Many thanks to those who reported issues, sent pull requests or participated in discussions!<br />
<br />
Sincerely,<br />
The MyBatis Team
</div>
Iwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-29696378488082680692018-03-14T15:24:00.000+00:002018-03-14T15:26:51.133+00:00MyBatis-Spring 1.3.2 released!<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis-Spring 1.3.2.</div>
<div style="background-color: white;">
<span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="font-size: 13.2px;">Here is the list of main changes.</span></span><br />
<br />
<div style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
Bug fixes:</div>
<div>
<ul style="line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;">
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="font-size: 13.2px;">Possible occur NullpointerException on MyBatisCursorItemReader when close. <a href="https://github.com/mybatis/spring/issues/237" target="_blank">#237</a></span></span></li>
</ul>
</div>
<span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="font-size: 13.2px;">Enhancements:</span></span></div>
<ul style="background-color: white; line-height: 1.4; margin: 0.5em 0px; padding: 0px 2.5em;">
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="font-size: 13.2px;">Supports MyBatis 3.4.6 </span></span><a href="https://github.com/mybatis/spring/issues/279" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" target="_blank">#279</a></li>
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="font-size: 13.2px;">Supports Spring Framework 4.3.14 </span></span><a href="https://github.com/mybatis/spring/issues/288" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" target="_blank">#288</a></li>
<li style="margin: 0px 0px 0.25em; padding: 0px;"><span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif;"><span style="font-size: 13.2px;">Spring Batch 3.0.9 </span></span><a href="https://github.com/mybatis/spring/issues/290" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" target="_blank">#290</a></li>
</ul>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<br /></div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;">There is no known backward incompatible change since 1.3.1.</span><br />
<span style="font-size: 13.2px;">Follow this </span><a href="https://github.com/mybatis/spring/milestone/9?closed=1" style="color: #888888; font-size: 13.2px; text-decoration-line: none;" target="_blank">link</a><span style="font-size: 13.2px;"> to see the full list of changes.</span><br />
<span style="font-size: 13.2px;">Binaries are available on the </span><a href="https://github.com/mybatis/spring/releases/tag/mybatis-spring-1.3.2" style="color: #888888; font-size: 13.2px; text-decoration-line: none;" target="_blank">release page</a><span style="font-size: 13.2px;"> and Maven Central.</span></div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;"><br /></span></div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;">Thanks,</span></div>
<div style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;">
<span style="font-size: 13.2px;">The MyBatis Team</span></div>
Kazuki Shimizuhttp://www.blogger.com/profile/07181055391245493486noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-77561458453288853362018-03-11T16:57:00.000+00:002018-03-11T16:57:59.630+00:00MyBatis 3.4.6 released!<div>
Dear Community,<br />
<br />
We are pleased to announce the release of MyBatis 3.4.6.
</div>
<div>
Here is the list of user visible changes.<br />
<br />
Enhancements:
</div>
<ul>
<li>Apply custom ResultHandler to CURSOR type OUT parameter. <a href="https://github.com/mybatis/mybatis-3/issues/493" target="_blank">#493</a></li>
<li>Substitute variables in attribute values of included SQL fragments. <a href="https://github.com/mybatis/mybatis-3/issues/1069" target="_blank">#1069</a></li>
<li>BatchExecutor now closes each statement immediately after execution. <a href="https://github.com/mybatis/mybatis-3/issues/1110" target="_blank">#1110</a></li>
<li>It is now possible to use a static method as SQL provider. <a href="https://github.com/mybatis/mybatis-3/issues/1131" target="_blank">#1131</a></li>
<li>SQL provider method can now return CharSequence instead of String. <a href="https://github.com/mybatis/mybatis-3/issues/1134" target="_blank">#1134</a></li>
<li>Add resource path to the exception message when parsing XML mapper failed. <a href="https://github.com/mybatis/mybatis-3/issues/1172" target="_blank">#1172</a></li>
</ul>
<div>
Bug fixes:
</div>
<ul>
<li>Registering type handler against HashMap causes ClassCastException. <a href="https://github.com/mybatis/mybatis-3/issues/1089" target="_blank">#1089</a></li>
<li>Unable to register TypeHandler once TypeHandlerRegistry.hasTypeHandler is called. <a href="https://github.com/mybatis/mybatis-3/issues/1177" target="_blank">#1177</a></li>
<li>Serializing and deserializing cached objects causes NullPointerException. <a href="https://github.com/mybatis/mybatis-3/issues/1084" target="_blank">#1084</a></li>
<li>Invalid error message 'Two methods with same method signature but not providing classes assignable?' in System.err. <a href="https://github.com/mybatis/mybatis-3/issues/929" target="_blank">#929</a></li>
</ul>
<div>
There is no known backward incompatible change since 3.4.5.<br />
Follow this <a href="https://github.com/mybatis/mybatis-3/milestone/19?closed=1" target="_blank">link</a> to see the full list of changes.<br />
Binaries are available on the <a href="https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.4.6" target="_blank">release page</a> and Maven Central.<br />
<br />
Many thanks to those who reported issues, sent pull requests or participated in discussions!<br />
<br />
3.4.6 will be the last version that supports Java 6.<br />
<br />
Sincerely,<br />
The MyBatis Team
</div>
Iwao AVE!http://www.blogger.com/profile/00481321104274081455noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-32981981321780667412017-12-21T18:38:00.001+00:002017-12-21T18:38:25.726+00:00MyBatis Generator Version 1.3.6 ReleasedDear community,<br />
<br />
There is a new version of MyBatis Generator. This release contains quite a few bug fixes and enhancements. The most significant enhancement is support for a new type of generated code that is based on MyBatis Dynamic SQL.<br />
<br />
You can read more about it on the "What's New" page here <a href="http://www.mybatis.org/generator/whatsNew.html">http://www.mybatis.org/generator/whatsNew.html</a><br />
<br />
Full details are on the GitHub release page here: <a href="https://github.com/mybatis/generator/releases/tag/mybatis-generator-1.3.6">https://github.com/mybatis/generator/releases/tag/mybatis-generator-1.3.6</a><br />
<br />
Enjoy!Jeff Butlerhttp://www.blogger.com/profile/00641704729731684411noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-5339530240367549422017-12-21T18:35:00.000+00:002017-12-21T18:35:12.118+00:00MyBatis Dynamic SQL version 1.0.0 ReleasedMyBatis Dynamic SQL is a new project in the MyBatis family. It is an SQL generator with support for MyBatis and Spring JDBC templates. Probably most significant is that it will greatly improve the code generated by MyBatis generator.<br />
<br />
You can read all about it here: <a href="http://www.mybatis.org/mybatis-dynamic-sql/docs/introduction.html">http://www.mybatis.org/mybatis-dynamic-sql/docs/introduction.html</a><br />
<br />
Enjoy!Jeff Butlerhttp://www.blogger.com/profile/00641704729731684411noreply@blogger.com0tag:blogger.com,1999:blog-8561590289186824484.post-37411849324688940162017-09-09T22:46:00.001+01:002020-03-16T13:58:12.742+00:00MyBatis-Guice 3.12 Released!<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">We are proud to announce the release of MyBatis-Guice 3.12.</span><br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"><span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"><br /></span></span>
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"><span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">Some of the changes include:</span></span><br />
<br />
<ul>
<li><span style="color: #222222; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: x-small;"><span style="caret-color: rgb(34, 34, 34);">Adds support commons-dbcp 2</span></span></li>
<li><span style="color: #222222; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: x-small;"><span style="caret-color: rgb(34, 34, 34);">Adds support for HikariCP</span></span></li>
<li><span style="color: #222222; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: x-small;"><span style="caret-color: rgb(34, 34, 34);">Drops support for BoneCP (replaced by HikariCP)</span></span></li>
</ul>
<br />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"><span style="color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">See the details at </span><a href="https://github.com/mybatis/guice/milestone/10" style="color: #888888; font-size: 13.2px;">https://github.com/mybatis/guice/milestone/10</a></span><br />
<br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">It is available in </span><a href="https://github.com/mybatis/guice/releases" style="background-color: white; color: #888888; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; text-decoration-line: none;">Github</a><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;"> and Maven Central.</span><br />
<br style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px;" />
<span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px;">Big thanks for your support and enjoy!</span>Christian Poitrashttp://www.blogger.com/profile/06797499723295077468noreply@blogger.com1tag:blogger.com,1999:blog-8561590289186824484.post-74848032620643244032017-08-22T02:16:00.001+01:002017-08-22T02:16:35.201+01:00MyBatis-Ignite 1.0.6 released!<div dir="ltr" style="text-align: left;" trbidi="on">
Dear Community,<br /><br />We have released mybatis-ignite 1.0.6 which updates Apache Ignite to 2.1.0 and MyBatis 3.4.5.<br /><br />Project is available on <a href="https://github.com/mybatis/ignite-cache/releases">GitHub</a> and Maven Central.<br /><br />Thanks and enjoy!</div>
Roman Shtykhhttp://www.blogger.com/profile/03602471251345190412noreply@blogger.com0