MyBatis v3.5.4 Release Notes

Release Date: 2020-02-03 // 2 months ago
  • ✨ Enhancements:

    • You can now omit unnecessary @Results and @ConstructorArgs annotation. #1698

    🐛 Bug fixes:

    • Avoid invoking hashCode() method when setting auto-generated keys. #1719
    • Possible ResultMapException when using nested select. #1551
    • Possible incorrect TypeVariable resolution in TypeParameterResolver. #1794
    • Race condition in TypeHandlerRegistry. #1819

    There is no known backward incompatible change since 3.5.3.

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


Previous changes from v3.5.3

  • ✨ 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.