MyBatis Dynamic SQL 1.1.2
jeffgbutler
released this
05 Jul 17:54
·
2095 commits
to master
since this release
This release includes several enhancements related to increasing user flexibility including:
- Database catalogs and schemas can now be supplied at runtime. The enables code to be responsive to different environments, or enabling certain types of sharding
- The public API for
List
based conditions has been changed to supportCollection
instead ofList
- The library now supports "fetch first" based paging in addition to "limit and offset". We believe "fetch first" is more standard and supported by more databases.
- Many enhancements related to supporting more complex query scenarios (see below)
By far, the most important enhancements are related to making it easier to create very dynamic select statements with complex where clauses. There is a new page in the online documentation showing the new capabilities here: http://www.mybatis.org/mybatis-dynamic-sql/docs/complexQueries.html
The full list of changes can be viewed here:
https://github.com/mybatis/mybatis-dynamic-sql/issues?q=is%3Aclosed+milestone%3A1.1.2
All artifacts are available in Maven central under these coordinates:
<dependency>
<groupId>org.mybatis.dynamic-sql</groupId>
<artifactId>mybatis-dynamic-sql</artifactId>
<version>1.1.2</version>
</dependency>