MyBatis v3.5.3 Release Notes

Release Date: 2019-10-20 // about 23 hours ago
  • ✨ Enhancements:

    • 👌 Support variable substitution in CDATA of included <sql />. #1615
    • 👌 Support default method invocation on JDK 14+8 or later. #1626
    • ⚠ Avoid illegal reflective access warning when invoking default mapper method. #1636
    • Ambiguous getter/setter now throws ReflectionException only when it is actually accessed. #1201

    🐛 Bug fixes:

    • 👻 Possible infinite loop when a SQL provider throws an exception. #1616
    • Unable to iterate Cursor if the next element is null. #1653
    • queryCursor() fails in streaming mode of MySQL Connector/J. #1654

    There is no known backward incompatible change since 3.5.2.

    👀 Please see the 3.5.3 milestone page for the complete list of changes.


Previous changes from v3.5.2

  • ✨ Enhancements:

    • 🏗 SQL builder now supports LIMIT, OFFSET #1521 and FETCH FIRST #1582.
    • 🏗 SQL builder now supports multi-row insert syntax #1333.
    • 0️⃣ A new property defaultNetworkTimeout has been added to the built-in data sources i.e. PooledDataSource and UnpooledDataSource #1527.
    • SQL provider annotations now takes value attribute which is an alias for type #1522.
    • You can now pass Java array to ArrayTypeHandler#setNonNullParameter()#1548.
    • You can reference single simple type unnamed parameter with any name in OGNL expressions #1487.
    • 🔧 A new configuration option defaultResultSetType is added #1056.

    🐛 Bugs:

    • 🏗 SQL provider method with a primitive parameter causes BuilderException #1604.
    • 🛠 Fixes a possible NullPointerException #1590.

    There is no known backward incompatible change since 3.5.1.

    👀 Please see the 3.5.2 milestone page for the complete list of changes.