A B C D E G I M N O P R S U W

A

afterPropertiesSet() - Method in class org.mybatis.spring.annotation.MapperScannerPostProcessor
afterPropertiesSet() - Method in class org.mybatis.spring.MapperFactoryBean
afterPropertiesSet() - Method in class org.mybatis.spring.SqlSessionFactoryBean
 
afterPropertiesSet() - Method in class org.mybatis.spring.SqlSessionTemplate

B

buildSqlSessionFactory() - Method in class org.mybatis.spring.SqlSessionFactoryBean
Build a SqlSessionFactory instance.

C

checkDaoConfig() - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
close() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction
closeSqlSession(SqlSession, SqlSessionFactory) - Static method in class org.mybatis.spring.SqlSessionUtils
 
commit() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction

D

delete(String) - Method in interface org.mybatis.spring.SqlSessionOperations
 
delete(String, Object) - Method in interface org.mybatis.spring.SqlSessionOperations
 
delete(String) - Method in class org.mybatis.spring.SqlSessionTemplate
delete(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate
doInSqlSession(SqlSession) - Method in interface org.mybatis.spring.SqlSessionCallback
Gets called by SqlSessionTemplate.execute with an active SqlSession.

E

execute(SqlSessionCallback<T>) - Method in class org.mybatis.spring.SqlSessionTemplate
Execute the given data access action with the proper SqlSession (got from current transaction or a new one)
execute(SqlSessionCallback<T>, ExecutorType) - Method in class org.mybatis.spring.SqlSessionTemplate
Execute the given data access action on a Executor.

G

getConnection() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction
getDataSource() - Method in class org.mybatis.spring.SqlSessionTemplate
getExecutorType() - Method in class org.mybatis.spring.SqlSessionHolder
 
getMapper(Class<T>) - Method in interface org.mybatis.spring.SqlSessionOperations
 
getMapper(Class<T>) - Method in class org.mybatis.spring.SqlSessionTemplate
getObject() - Method in class org.mybatis.spring.MapperFactoryBean
getObject() - Method in class org.mybatis.spring.SqlSessionFactoryBean
getObjectType() - Method in class org.mybatis.spring.MapperFactoryBean
getObjectType() - Method in class org.mybatis.spring.SqlSessionFactoryBean
getSqlSession() - Method in class org.mybatis.spring.SqlSessionHolder
 
getSqlSession(SqlSessionFactory) - Static method in class org.mybatis.spring.SqlSessionUtils
 
getSqlSession(SqlSessionFactory, DataSource) - Static method in class org.mybatis.spring.SqlSessionUtils
 
getSqlSession(SqlSessionFactory, ExecutorType) - Static method in class org.mybatis.spring.SqlSessionUtils
 
getSqlSession(SqlSessionFactory, DataSource, ExecutorType) - Static method in class org.mybatis.spring.SqlSessionUtils
Create a new SqlSession if there is no active transaction or an SqlSession is not synchronized with the current transaction.
getSqlSessionFactory() - Method in class org.mybatis.spring.SqlSessionTemplate
 
getSqlSessionFactory() - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
 
getSqlSessionTemplate() - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
 

I

insert(String) - Method in interface org.mybatis.spring.SqlSessionOperations
 
insert(String, Object) - Method in interface org.mybatis.spring.SqlSessionOperations
 
insert(String) - Method in class org.mybatis.spring.SqlSessionTemplate
insert(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate
InternalMapperFactoryBean<T> - Class in org.mybatis.spring.annotation
MapperScannerPostProcessor registers new mappers creating new MapperFactoryBeans but if there are other MapperFactoryBeans defined in the context their bean definitions are created before the MapperScannerPostProcessor is executed.
InternalMapperFactoryBean() - Constructor for class org.mybatis.spring.annotation.InternalMapperFactoryBean
 
isSingleton() - Method in class org.mybatis.spring.MapperFactoryBean
isSingleton() - Method in class org.mybatis.spring.SqlSessionFactoryBean
isSqlSessionTransactional(SqlSession, SqlSessionFactory) - Static method in class org.mybatis.spring.SqlSessionUtils
 

M

Mapper - Annotation Type in org.mybatis.spring.annotation
Annotation to identify mapper interfaces for scanning
MapperFactoryBean<T> - Class in org.mybatis.spring
BeanFactory that enables injection of MyBatis mapper interfaces.
MapperFactoryBean() - Constructor for class org.mybatis.spring.MapperFactoryBean
 
MapperScannerPostProcessor - Class in org.mybatis.spring.annotation
BeanDefinitionRegistryPostProcessor that searches recursively starting from a basePackage for interfaces with Mapper annotation and registers MapperFactoryBeans.
MapperScannerPostProcessor() - Constructor for class org.mybatis.spring.annotation.MapperScannerPostProcessor
 
MyBatisSystemException - Exception in org.mybatis.spring
MyBatis specific subclass of UncategorizedDataAccessException, for MyBatis system errors that do not match any concrete org.springframework.dao exceptions.
MyBatisSystemException(String, Throwable) - Constructor for exception org.mybatis.spring.MyBatisSystemException
 

N

newTransaction(Connection, boolean) - Method in class org.mybatis.spring.transaction.SpringManagedTransactionFactory

O

org.mybatis.spring - package org.mybatis.spring
Contains core classes to build the MyBatis integration with Spring3.X.
org.mybatis.spring.annotation - package org.mybatis.spring.annotation
Contains the mapper scanning classes
org.mybatis.spring.support - package org.mybatis.spring.support
Contains Spring3.X support classes for MyBatis.
org.mybatis.spring.transaction - package org.mybatis.spring.transaction
Contains core classes to manage MyBatis transactions in Spring3.X.

P

postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in class org.mybatis.spring.annotation.MapperScannerPostProcessor
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.mybatis.spring.annotation.MapperScannerPostProcessor

R

rollback() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction

S

select(String, Object, ResultHandler) - Method in interface org.mybatis.spring.SqlSessionOperations
 
select(String, ResultHandler) - Method in interface org.mybatis.spring.SqlSessionOperations
 
select(String, Object, RowBounds, ResultHandler) - Method in interface org.mybatis.spring.SqlSessionOperations
 
select(String, Object, ResultHandler) - Method in class org.mybatis.spring.SqlSessionTemplate
select(String, ResultHandler) - Method in class org.mybatis.spring.SqlSessionTemplate
select(String, Object, RowBounds, ResultHandler) - Method in class org.mybatis.spring.SqlSessionTemplate
selectList(String) - Method in interface org.mybatis.spring.SqlSessionOperations
 
selectList(String, Object) - Method in interface org.mybatis.spring.SqlSessionOperations
 
selectList(String, Object, RowBounds) - Method in interface org.mybatis.spring.SqlSessionOperations
 
selectList(String) - Method in class org.mybatis.spring.SqlSessionTemplate
selectList(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate
selectList(String, Object, RowBounds) - Method in class org.mybatis.spring.SqlSessionTemplate
selectOne(String) - Method in interface org.mybatis.spring.SqlSessionOperations
 
selectOne(String, Object) - Method in interface org.mybatis.spring.SqlSessionOperations
 
selectOne(String) - Method in class org.mybatis.spring.SqlSessionTemplate
selectOne(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate
setAddToConfig(boolean) - Method in class org.mybatis.spring.annotation.MapperScannerPostProcessor
 
setAddToConfig(boolean) - Method in class org.mybatis.spring.MapperFactoryBean
 
setBasePackage(String) - Method in class org.mybatis.spring.annotation.MapperScannerPostProcessor
 
setConfigLocation(Resource) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set the location of the MyBatis SqlSessionFactory config file.
setConfigurationProperties(Properties) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set optional properties to be passed into the SqlSession configuration, as alternative to a <properties> tag in the configuration xml file.
setDataSource(DataSource) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set the JDBC DataSource that this instance should manage transactions for.
setDataSource(DataSource) - Method in class org.mybatis.spring.SqlSessionTemplate
setEnvironment(String) - Method in class org.mybatis.spring.SqlSessionFactoryBean
NOTE: This class overrides any Environment you have set in the MyBatis config file.
setMapperInterface(Class<T>) - Method in class org.mybatis.spring.MapperFactoryBean
 
setMapperLocations(Resource[]) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set locations of MyBatis mapper files that are going to be merged into the SqlSessionFactory configuration at runtime.
setProperties(Properties) - Method in class org.mybatis.spring.transaction.SpringManagedTransactionFactory
setSqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.MapperFactoryBean
 
setSqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.SqlSessionTemplate
 
setSqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
 
setSqlSessionFactoryBeanName(String) - Method in class org.mybatis.spring.annotation.MapperScannerPostProcessor
 
setSqlSessionFactoryBuilder(SqlSessionFactoryBuilder) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Sets the SqlSessionFactoryBuilder to use when creating the SqlSessionFactory.
setSqlSessionTemplate(SqlSessionTemplate) - Method in class org.mybatis.spring.MapperFactoryBean
 
setSqlSessionTemplate(SqlSessionTemplate) - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
 
setSqlSessionTemplateBeanName(String) - Method in class org.mybatis.spring.annotation.MapperScannerPostProcessor
 
setTransactionFactoryClass(Class<TF>) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set the MyBatis TransactionFactory class to use.
setTransactionFactoryProperties(Properties) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set properties to be passed to the TransactionFactory instance used by this SqlSessionFactory.
SpringManagedTransaction - Class in org.mybatis.spring.transaction
MyBatis has two TransactionManagers out of the box: The JdbcTransactionManager and the ExternalTransactionManager.
SpringManagedTransaction(Connection) - Constructor for class org.mybatis.spring.transaction.SpringManagedTransaction
 
SpringManagedTransactionFactory - Class in org.mybatis.spring.transaction
Creates a SpringManagedTransaction.
SpringManagedTransactionFactory() - Constructor for class org.mybatis.spring.transaction.SpringManagedTransactionFactory
 
SqlSessionCallback<T> - Interface in org.mybatis.spring
Callback interface for data access code that works with the MyBatis Executor interface.
SqlSessionDaoSupport - Class in org.mybatis.spring.support
Convenient super class for MyBatis SqlSession data access objects.
SqlSessionDaoSupport() - Constructor for class org.mybatis.spring.support.SqlSessionDaoSupport
 
SqlSessionFactoryBean - Class in org.mybatis.spring
FactoryBean that creates an MyBatis SqlSessionFactory.
SqlSessionFactoryBean() - Constructor for class org.mybatis.spring.SqlSessionFactoryBean
 
SqlSessionHolder - Class in org.mybatis.spring
Used to keep current SqlSession in TransactionSynchronizationManager.
SqlSessionHolder(SqlSession, ExecutorType) - Constructor for class org.mybatis.spring.SqlSessionHolder
 
SqlSessionOperations - Interface in org.mybatis.spring
Interface that specifies a basic set of MyBatis SqlSession operations, implemented by SqlSessionTemplate.
SqlSessionTemplate - Class in org.mybatis.spring
Helper class that simplifies data access via the MyBatis SqlSession API, converting checked SQLExceptions into unchecked DataAccessExceptions, following the org.springframework.dao exception hierarchy.
SqlSessionTemplate() - Constructor for class org.mybatis.spring.SqlSessionTemplate
This constructor is left here to enable the creation of the SqlSessionTemplate using this xml in the applicationContext.xml.
SqlSessionTemplate(SqlSessionFactory) - Constructor for class org.mybatis.spring.SqlSessionTemplate
 
SqlSessionUtils - Class in org.mybatis.spring
Note: This class does not translate PersistenceException to DataSourceException since MyBatis now uses runtime exceptions.

U

update(String) - Method in interface org.mybatis.spring.SqlSessionOperations
 
update(String, Object) - Method in interface org.mybatis.spring.SqlSessionOperations
 
update(String) - Method in class org.mybatis.spring.SqlSessionTemplate
update(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate

W

wrapException(Throwable) - Method in class org.mybatis.spring.SqlSessionTemplate
Translates MyBatis exceptions into Spring DataAccessExceptions.

A B C D E G I M N O P R S U W

Copyright © 2010 MyBatis.org. All Rights Reserved.