Changes

Release History

Version Date Description
1.2.1 2013-09-30 1.2.1 release
1.2.0 2013-02-21 1.2.0 release
1.1.1 2012-04-15 1.1.1 release
1.1.0 2012-03-12 1.1.0 release
1.0.2 2011-10-10 1.0.2 release
1.0.1 2011-06-01 1.0.1 release
1.0.0 2010-12-31 1.0.0 release
1.0.0-RC3 2010-11-22 1.0.0-RC3 release
1.0.0-RC2 2010-10-31 1.0.0-RC2 release
1.0.0-RC1 2010-09-22 1.0.0-RC1 release

Release 1.2.1 – 2013-09-30

Type Changes By
Fix mybatis-spring OSGi imports - Spring batch should be optional Fixes 9.
Fix org.mybatis.spring.transaction.SpringManagedTransaction.logger should be static Fixes 6.

Release 1.2.0 – 2013-02-21

Type Changes By
Update Build a namespace for MyBatis Fixes 131.
Fix mybatis-spring OSGi imports - Spring batch should be optional Fixes 635.
Update Allow setting the super type for domain classes when scanning for type aliases via Spring Fixes 637.
Update MapperScannerConfigurer can't work with AnnotationConfigApplicationContext Fixes 694.
Fix Remove finals in SqlSessionDaoSupport to enable adding Qualifiers Fixes 715.
Fix Proxy message by istantiating Objects with Spring Fixes 724.
Update SqlSessionFactoryBean: add setters for Object[Wrapper]Factory Fixes 742.
Update MapperScannerConfigurer should allow setting a BeanNameGenerator Fixes 749.

Release 1.1.1 – 2012-04-15

Type Changes By
Fix 2nd level cache consistency with MyBatis-Spring Fixes 553.
Fix Overriding sqlSessionTemplate in MapperFactoryBean not working in certain circumstances Fixes 559.
Fix MapperScannerConfigurer causes app initialization problems Fixes 572.

Release 1.1.0 – 2012-03-12

Type Changes By
Fix Prevent class loading / add zero-method mappers while scanning for mappers Fixes 449.
Update Lazy loads do not execute within Spring-managed transactions Fixes 279.
Fix MapperScannerConfigurer does not work with PropertyPlaceholderConfigurer Fixes 414.

Release 1.0.2 – 2011-10-10

Type Changes By
Update Add SqlSession.flushStatements() Fixes 391.
Fix configurationProperties not applied in mappings Fixes 390.
Fix SqlSessionTemplate throws NullPointerException if ExceptionTranslator cannot translate exception Fixes 339.
Fix Replace BeanPostProcessor with BeanDefinitionRegistryPostProcessor Fixes 387.

Release 1.0.1 – 2011-06-01

Type Changes By
Update Added a fail fast checking to ensure that all statements are fully loaded Fixes 179.
Fix SqlSessionFactoryBean should allow sql fragments to be shared across multiple mapper files Fixes 222.
Fix Spring MapperScannerConfigurer does not work properly in OSGi Fixes 227.
Update Enable typehandler and alias registration in mybatis-spring Fixes 314.

Release 1.0.0 – 2010-12-31

Type Changes By
Fix Support multiple character sets (parse XML from InputStream vs. Reader) Fixes 14.
Fix Reset error context after calling XMLConfigBuilder or XMLMapperBuilder Fixes 104.
Fix SqlSession rolls back with no Spring Tx + autocommit=false + dirty=true (an update was executed) Fixes 196.
Update setTransactionFactoryProperties property in SqlSessionFactory has been removed
Update setTransactionFactoryClass property in SqlSessionFactory has been replaced by setTransactionFactory
Update Improved logging
Fix Doesn't propagate exceptions up the stack when using batch mode Fixes 185.

Release 1.0.0-RC3 – 2010-11-22

Type Changes By
Update getSqlSessionTemplate() method in SqlSessionDaoSupport has been replaced by getSqlSession()
Update MapperFactoryBean has been moved to org.mybatis.spring.mapper.MapperFactoryBean
Update MapperScannerPostProcessor has been moved to org.mybatis.spring.mapper.MapperScannerConfigurer
Update Removed @Mapper annotation
Update Mapper scanning should not rely on proprietary @Mapper annotation Fixes 176.
Fix Avoid one Proxy creation when using injected mappers Fixes 166.
Update Add new selectMap methods to SqlSessionTemplate Fixes 163.

Release 1.0.0-RC2 – 2010-10-31

Type Changes By
Update Improved documentation manual.
Update Add operation select(String, ResultHandler) Fixes 116.
Update Component Scan for Mappers Fixes 130.
Fix SqlSessionCallback.doInSqlSession should not throw SqlException Fixes 154.
Fix getExceptionTranslator() may not be called in mybatis-spring Fixes 156.
Fix Setting a specific datasource for one mapper does not work Fixes 157.
Fix should not let changing the executor type during a tx Fixes 160.
Fix mapperLocations does not work for xml files inside JARs Fixes 161.
Fix Use a reference to SqlSessionFactory in MapperScanner Fixes 162.

Release 1.0.0-RC1 – 2010-09-22

Type Changes By
Update First RC release. simone.tripodi