MyBatis v3.4.0 Release Notes

Release Date: 2016-04-19 // almost 8 years ago
  • MyBatis 3.4.0 with the following main features:

    • 🆕 New Cursor List method in SqlSession.
    • ⏱ Inherit Spring timeout in transactions.
    • 👍 Better support for generic types.
    • 👍 Out-of-the-box support new Date and Time API (JSR-310) classes added in Java 8.

    Note that there are changes that may break existing code.

    • 🆕 New method getTimeout() in the Transaction interface. If you implemented your own transaction adapter you will need to implement this method at least with a "return null"
    • 0️⃣ @options( flushCache ) now takes enum values (DEFAULT/TRUE/FALSE) instead of boolean.
    • ⏱ StatementHandler#prepare(Connection) has been changed to StatementHandler#prepare(Connection,Integer) given that now it gets the transaction timeout.

    👀 See the details at https://github.com/mybatis/mybatis-3/issues?q=milestone%3A3.4.0+is%3Aclosed