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 MyBatisSqlSessionFactory
.SqlSessionHolder Used to keep currentSqlSession
inTransactionSynchronizationManager
.SqlSessionTemplate Thread safe, Spring managed,SqlSession
that works with Spring transaction management to ensure that 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 ofUncategorizedDataAccessException
, for MyBatis system errors that do not match any concreteorg.springframework.dao
exceptions.