mybatis-3.5.1
·
2950 commits
to master
since this release
Bug fixes:
keyPropertyspecified with parameter name could cause ExecutorException. #1485- False positive error 'Ambiguous collection type ...' . #1472
EnumTypeHandleris not used when the enum has methods. #1489- Auto-mapping fails in a result map referenced from a constructor arg with
columnPrefix. #1496 - Constructor auto-mapping could fail when
columnPrefixis specified in the parent result map. #1495 LocalTimeTypeHandlerloses fractional seconds part. #1478LocalDateTypeHandlerandLocalDateTimeTypeHandlercould return unexpected value. #1478
Enhancements:
- You can now return 'script' from a SQL provider. The returned script is parsed using the language driver specified by
@Lang. #1391 - You can now omit
methodattribute from SQL provider annotations when the provider method has the same name as the mapper method or its name isprovideSql. #1279 - You can now get
databaseIdin SQL providers. #1503 - The default type handler for
LONGVARCHARis changed fromClobTypeHandlertoStringTypeHandler. This improves compatibility with SAP ASE. #1484
There is a backward incompatible change.