MyBatis v3.4.2 Release Notes

Release Date: 2017-01-03 // about 7 years ago
  • Here is a list of major enhancements in MyBatis 3.4.2.

    • ๐Ÿ†• New option 'returnInstanceForEmptyRow' to control the behavior when a query returns a row with all columuns being null. #800
    • ๐Ÿ‘Œ Support 'default methods' on mapper interfaces. #709
    • When no type handler is registered to a class, a type handler registered to its superclass can be used. #859
    • ๐Ÿ†• New attributes properties is added to @CacheNamespace. #841
    • ๐Ÿ†• New attributes name is added to @CacheNamespaceRef. #842
    • ๐Ÿ‘Œ Support the mechanism for initializing a cache after set all properties. #816
    • ๐Ÿ‘ Allow users to set default value in placeholders. #852
    • Auto-detecting type handlers newly added in version 1.0.2 of TypeHandlers-JSR310. #727 #878

    Although it may be rare, the following changes could affect existing solutions.

    • 0๏ธโƒฃ The default value of aggressiveLazyLoading is changed to false. #825
    • ๐Ÿ‘ป Raise a exception when keyProperty is not found. #782

    ๐Ÿ‘€ Follow this link to see the full list of changes.