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.
- ๐ New option 'returnInstanceForEmptyRow' to control the behavior when a query returns a row with all columuns being