Download Latest Version mybatis-dynamic-sql-1.4.1.jar (616.8 kB)
Email in envelope

Get an email when there's a new version of MyBatis Dynamic SQL

Home / mybatis-dynamic-sql-1.5.2
Name Modified Size InfoDownloads / Week
Parent folder
MyBatis Dynamic SQL Release 1.5.2 source code.tar.gz 2024-06-03 347.5 kB
MyBatis Dynamic SQL Release 1.5.2 source code.zip 2024-06-03 915.2 kB
README.md 2024-06-03 1.5 kB
Totals: 3 Items   1.3 MB 0

This is a small maintenance release with the following changes:

  1. Improvements to the Kotlin DSL for CASE expressions (infix methods for "else" and "then"). See this PR for details: [#785]
  2. Potentially Breaking Change: the "in" conditions ("isIn", "isNotIn", "isInCaseInsensitive", "isNotInCaseInsensitive") will now render if the input list of values is empty. This will lead to a runtime exception. This change was made out of an abundance of caution and is the safest choice. If you wish to allow "in" conditions to be removed from where clauses when the list is empty, then use the "when present" versions of those conditions. If you are unsure how this works, please read the documentation here: https://mybatis.org/mybatis-dynamic-sql/docs/conditions.html#optionality-with-the-%E2%80%9Cin%E2%80%9D-conditions For background on the reason for the change, see the discussion in issue [#788]

Important: This is the last release that will be compatible with Java 8.

The full list of changes is available here: https://github.com/mybatis/mybatis-dynamic-sql/milestone/14?closed=1

Please find the full release notes here: https://mybatis.org/mybatis-dynamic-sql/docs/CHANGELOG.html

All artifacts are available in Maven central under these coordinates:

:::xml
<dependency>
  <groupId>org.mybatis.dynamic-sql</groupId>
  <artifactId>mybatis-dynamic-sql</artifactId>
  <version>1.5.2</version>
</dependency>
Source: README.md, updated 2024-06-03