Package org.mybatis.spring

Contains core classes to build the MyBatis integration with Spring3.X.
  • Class Summary
    Class Description
    MyBatisExceptionTranslator
    Default exception translator.
    SqlSessionFactoryBean
    FactoryBean that creates a MyBatis SqlSessionFactory.
    SqlSessionHolder
    Used to keep current SqlSession in TransactionSynchronizationManager.
    SqlSessionTemplate
    Thread safe, Spring managed, SqlSession that works with Spring transaction management to ensure that the actual SqlSession used is the one associated with the current Spring transaction.
    SqlSessionUtils
    Handles MyBatis SqlSession life cycle.
  • Exception Summary
    Exception Description
    MyBatisSystemException
    MyBatis specific subclass of UncategorizedDataAccessException, for MyBatis system errors that do not match any concrete org.springframework.dao exceptions.