Mybatis Spring Versions Save

Spring integration for MyBatis 3

mybatis-spring-2.0.4

4 years ago

Here is the complete list of changes.

Since this version, we changed base line versions to spring 5.2.x and spring-batch 4.2.x from spring 5.1.x and spring-batch 4.1.x, but we keep backward compatibility with spring 5.1.x and spring-batch 4.1.x.

Bug Fixes

  • SpringManagedTransaction#close broken backward-compatibility between 1.3.x and 2.0.x #427

Enhancements

  • Use declared class's package as base package if not present base packages on @MapperScan #438
  • Support openjdk14 on Travis CI #450
  • Support openjdk15 on Travis CI

Dependencies Updates

  • Upgrade to Spring 5.2.4 #448
  • Update to Spring 5.1.14 on Travis CI #449
  • Upgrade to MyBatis 3.5.4 #446

mybatis-spring-2.0.3

4 years ago

Here is the complete list of changes.

Bug Fixes

  • Cannot scan TypeHandler that pass Class<?> to constructor #394

Enhancements

  • Allow the use of an existing SQLExceptionTranslator #400

Dependencies Updates

  • Upgrade to Spring 5.1.10 #404
  • Upgrade to MyBatis 3.5.3 #406

Miscellaneous

  • Update comment in MyBatisBatchItemWriter.java #399

mybatis-spring-1.3.3

4 years ago

Here is the complete list of changes. This release will be the final release for the 1.3.x line.

Enhancements

  • Optimize xsd for ide hints #284

Dependencies Updates

  • Upgrade to Spring 4.3.25 #397
  • Upgrade to Spring Batch 3.0.10 #346

mybatis-spring-2.0.2

4 years ago

Here is the complete list of changes.

Bug Fixes

  • There is case that fail to register type alias when exists anonymous class since mybatis-spring 2.0.1 #362

New Features

  • Support controlling to use lazy Initialization or not on mapper scanning feature #376

Enhancements

  • Support to configure LanguageDriver via SqlSessionFactoryBean #378
  • Change to Variable-length argument from array argument on SqlSessionFactoryBean #380

Dependencies Updates

  • Upgrade to Spring 5.1.8 #387
  • Upgrade to MyBatis 3.5.2 #388

Known Issues in this version

If there is an impact on your application, please apply workaround or suspend the update.

  • Cannot scan TypeHandler that pass Class<?> to constructor #394

mybatis-spring-2.0.1

5 years ago

Here is the complete list of changes.

Enhancements

  • Output a warning log when 'mapperLocations' was specified but matching resources are not found #12
  • Allow to use MyBatisPagingItemReader without InitializingBean#afterPropertiesSet #323
  • Allow to specify custom MapperFactoryBean class on xml based bean definition #352
  • Allow to specify a wildcard at 'typeAliasesPackage' and 'typeHandlersPackage' #359
  • Optimize xsd for ide hints #358

Dependencies Updates

  • Upgrade to Spring 5.1.6 #353
  • Upgrade to MyBatis 3.5.1 #360

Known Issues in this version

If there is an impact on your application, please suspend the update.

  • There is case that fail to register type alias when exists anonymous class #362 (will fix on 2.0.2)

mybatis-spring-2.0.0

5 years ago

Here is the complete list of changes.

Enhancements

  • Upgrade to Java 8+ (Requires) #177
  • Upgrade to Spring Framework 5+ (Requires) #177
  • Upgrade to Spring Batch 4+ (Requires) #177
  • Upgrade to MyBatis 3.5 (Requires) #304
  • Allow repeatable for @MapperScan #234
  • Add builder classes for ItemReader and ItemWriter #235
  • MyBatisBatchItemWriter supports converting a parameter #21
  • Remove version number from XSD file #233

mybatis-spring-1.3.2

6 years ago

The list of changes : https://github.com/mybatis/spring/milestone/9?closed=1

Bug Fixes

  • #237: Possible occur NullpointerException on MyBatisCursorItemReader when close

Enhancements

  • #279: Supports MyBatis 3.4.6
  • #288: Supports Spring Framework 4.3.14
  • #290: Spring Batch 3.0.9

mybatis-spring-1.3.1

7 years ago

mybatis-spring-1.2.5

8 years ago

We have just released Spring 1.2.5 as a hot fix for this issue.

This issue will only affect spring-boot users that are using the spring-boot-starter adapter.

mybatis-spring-1.3.0

8 years ago

MyBatis-Spring 1.3.0 with:

  • Support for Cursor List (also for Spring Batch)
  • Requires MyBatis 3.4.0

See the details at the project's tracker