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-2.0.0
Name Modified Size InfoDownloads / Week
Parent folder
MyBatis Dynamic SQL Release 2.0.0 source code.tar.gz 2026-03-12 384.3 kB
MyBatis Dynamic SQL Release 2.0.0 source code.zip 2026-03-12 1.0 MB
README.md 2026-03-12 1.6 kB
Totals: 3 Items   1.4 MB 0

Release 2.0.0 is a significant milestone for the library:

  • Java 17 is now the minimum version
  • We've adopted JSpecify to denote the nullability expectations in the library, and JSpecify is now a runtime dependency
  • There are significant changes to the DSLs with where clauses (CountDSL, DeleteDSL, SelectDSL, and UpdateDSL). There are new versions of each of these DSLs that will eventually replace the existing versions. Both versions are present in this release, so there shouldn't be any issues with upgrading. But the old versions will eventually be removed. The old versions of the DSLs will be deprecated in the next minor release.
  • Lots of enhancements. One important enhancement is that we now support full boolean expressions in join statements and any of the conditions (isGreaterThan, isLessThan, etc.) can be used.
  • There are a few breaking changes. We don't believe these will impact many users. One potential source of trouble is if you have created many custom functions. You will likely need to make changes if that is the case.

Please read the change log for full details about the changes in this release: https://mybatis.org/mybatis-dynamic-sql/docs/CHANGELOG.html

You can see the important milestone issues here: https://github.com/mybatis/mybatis-dynamic-sql/milestone/15?closed=1

All artifacts are available in Maven central at these coordinates:

:::xml
<dependency>
    <groupId>org.mybatis.dynamic-sql</groupId>
    <artifactId>mybatis-dynamic-sql</artifactId>
    <version>2.0.0</version>
</dependency>
Source: README.md, updated 2026-03-12