Package org.mybatis.spring
package org.mybatis.spring
Contains core classes to build the MyBatis integration with Spring3.X.
-
ClassDescriptionDefault exception translator.MyBatis specific subclass of
UncategorizedDataAccessException
, for MyBatis system errors that do not match any concreteorg.springframework.dao
exceptions.FactoryBean
that creates a MyBatisSqlSessionFactory
.Used to keep currentSqlSession
inTransactionSynchronizationManager
.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.Handles MyBatis SqlSession life cycle.