MyBatis v3.5.6 Release Notes
Release Date: 2020-10-06 // over 4 years ago-
โจ Enhancements:
- โก๏ธ A new configuration option
defaultSqlProviderType
is added. The specified class will be used as the SQL provider when thevalue()
ortype()
is not specified in@SelectProvider
,@UpdateProvider
,@InsertProvider
and@DeleteProvider
. #1951 - A new transaction isolation level
SQL_SERVER_SNAPSHOT
is added toTransactionIsolationLevel
enum to support the MS SQL Server specific isolation levelSNAPSHOT
. #1973 - ๐ When there is no JEP-290 serialization filter defined, a WARN level message is logged on deserializing object streams. #2079
๐ Bug fixes:
- Possible
NoSuchPropertyException
under heavy load. #1648 - ๐ฆ Possible
InvalidPathException
when registering type aliases by specifying package name. #1974 - Possible
OutOfMemoryError
when usingBlockingCache
. #2044
There is no known backward incompatible change since 3.5.5.
๐ Please see the 3.5.6 milestone page for the complete list of changes.
- โก๏ธ A new configuration option
Previous changes from v3.5.5
-
โจ Enhancements:
- You can reference single
List
orCollection
type parameter using its actual parameter name whenuseActualParamName
is enabled. #1237 - You can specify
resultMap
in@One
and@Many
. #1771 - You can specify
columnPrefix
in@One
and@Many
. #1829 - ๐ A new option
shrinkWhitespacesInSql
to remove extra whitespaces in SQL. #1901
๐ Bug fixes:
- Possible IllegalArgumentException when using
@CacheNamespaceRef
. #1719 - โช Mapper method invocation should be non-blocking (work around JDK-8161372). #1929
There is no known backward incompatible change since 3.5.4.
๐ Please see the 3.5.5 milestone page for the complete list of changes.
- You can reference single