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

A

afterPropertiesSet() - Method in class org.mybatis.spring.batch.MyBatisBatchItemWriter
Check mandatory properties - there must be an SqlSession and a statementId.
afterPropertiesSet() - Method in class org.mybatis.spring.batch.MyBatisPagingItemReader
Check mandatory properties.
afterPropertiesSet() - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
afterPropertiesSet() - Method in class org.mybatis.spring.SqlSessionFactoryBean

B

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

C

checkCandidate(String, BeanDefinition) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
checkDaoConfig() - Method in class org.mybatis.spring.mapper.MapperFactoryBean
checkDaoConfig() - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
ClassPathMapperScanner - Class in org.mybatis.spring.mapper
A ClassPathBeanDefinitionScanner that registers Mappers by basePackage, annotationClass, or markerInterface.
ClassPathMapperScanner(BeanDefinitionRegistry) - Constructor for class org.mybatis.spring.mapper.ClassPathMapperScanner
 
clearCache() - Method in class org.mybatis.spring.SqlSessionTemplate
close() - Method in class org.mybatis.spring.SqlSessionTemplate
close() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction
closeSqlSession(SqlSession, SqlSessionFactory) - Static method in class org.mybatis.spring.SqlSessionUtils
Checks if SqlSession passed as an argument is managed by Spring TransactionSynchronizationManager If it is not, it closes it, otherwise it just updates the reference counter and lets Spring call the close callback when the managed transaction ends
commit() - Method in class org.mybatis.spring.SqlSessionTemplate
commit(boolean) - Method in class org.mybatis.spring.SqlSessionTemplate
commit() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction

D

delete(String) - Method in class org.mybatis.spring.SqlSessionTemplate
delete(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate
doJumpToPage(int) - Method in class org.mybatis.spring.batch.MyBatisPagingItemReader
 
doReadPage() - Method in class org.mybatis.spring.batch.MyBatisPagingItemReader
 
doScan(String...) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
Calls the parent search that will search and register all the candidates.

F

flushStatements() - Method in class org.mybatis.spring.SqlSessionTemplate

G

getConfiguration() - Method in class org.mybatis.spring.SqlSessionTemplate
getConnection() - Method in class org.mybatis.spring.SqlSessionTemplate
getConnection() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction
getDatabaseIdProvider() - Method in class org.mybatis.spring.SqlSessionFactoryBean
Gets the DatabaseIdProvider
getExecutorType() - Method in class org.mybatis.spring.SqlSessionHolder
 
getExecutorType() - Method in class org.mybatis.spring.SqlSessionTemplate
 
getMapper(Class<T>) - Method in class org.mybatis.spring.SqlSessionTemplate
getMapperInterface() - Method in class org.mybatis.spring.mapper.MapperFactoryBean
Return the mapper interface of the MyBatis mapper
getNameGenerator() - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
Gets beanNameGenerator to be used while running the scanner.
getObject() - Method in class org.mybatis.spring.mapper.MapperFactoryBean
getObject() - Method in class org.mybatis.spring.SqlSessionFactoryBean
getObjectType() - Method in class org.mybatis.spring.mapper.MapperFactoryBean
getObjectType() - Method in class org.mybatis.spring.SqlSessionFactoryBean
getPersistenceExceptionTranslator() - Method in class org.mybatis.spring.SqlSessionHolder
 
getPersistenceExceptionTranslator() - Method in class org.mybatis.spring.SqlSessionTemplate
 
getSqlSession() - Method in class org.mybatis.spring.SqlSessionHolder
 
getSqlSession(SqlSessionFactory) - Static method in class org.mybatis.spring.SqlSessionUtils
Creates a new MyBatis SqlSession from the SqlSessionFactory provided as a parameter and using its DataSource and ExecutorType
getSqlSession(SqlSessionFactory, ExecutorType, PersistenceExceptionTranslator) - Static method in class org.mybatis.spring.SqlSessionUtils
Gets an SqlSession from Spring Transaction Manager or creates a new one if needed.
getSqlSession() - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
Users should use this method to get a SqlSession to call its statement methods This is SqlSession is managed by spring.
getSqlSessionFactory() - Method in class org.mybatis.spring.SqlSessionTemplate
 

I

init() - Method in class org.mybatis.spring.config.NamespaceHandler
insert(String) - Method in class org.mybatis.spring.SqlSessionTemplate
insert(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate
isAddToConfig() - Method in class org.mybatis.spring.mapper.MapperFactoryBean
Return the flag for addition into MyBatis config.
isCandidateComponent(AnnotatedBeanDefinition) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
isSingleton() - Method in class org.mybatis.spring.mapper.MapperFactoryBean
isSingleton() - Method in class org.mybatis.spring.SqlSessionFactoryBean
isSqlSessionTransactional(SqlSession, SqlSessionFactory) - Static method in class org.mybatis.spring.SqlSessionUtils
Returns if the SqlSession passed as an argument is being managed by Spring

M

MapperFactoryBean<T> - Class in org.mybatis.spring.mapper
BeanFactory that enables injection of MyBatis mapper interfaces.
MapperFactoryBean(Class<T>) - Constructor for class org.mybatis.spring.mapper.MapperFactoryBean
 
MapperFactoryBean() - Constructor for class org.mybatis.spring.mapper.MapperFactoryBean
 
MapperScan - Annotation Type in org.mybatis.spring.annotation
Use this annotation to register MyBatis mapper interfaces when using Java Config.
MapperScannerBeanDefinitionParser - Class in org.mybatis.spring.config
A {#code BeanDefinitionParser} that handles the element scan of the MyBatis.
MapperScannerBeanDefinitionParser() - Constructor for class org.mybatis.spring.config.MapperScannerBeanDefinitionParser
 
MapperScannerConfigurer - Class in org.mybatis.spring.mapper
BeanDefinitionRegistryPostProcessor that searches recursively starting from a base package for interfaces and registers them as MapperFactoryBean.
MapperScannerConfigurer() - Constructor for class org.mybatis.spring.mapper.MapperScannerConfigurer
 
MapperScannerRegistrar - Class in org.mybatis.spring.annotation
A ImportBeanDefinitionRegistrar to allow annotation configuration of MyBatis mapper scanning.
MapperScannerRegistrar() - Constructor for class org.mybatis.spring.annotation.MapperScannerRegistrar
 
MyBatisBatchItemWriter<T> - Class in org.mybatis.spring.batch
ItemWriter that uses the batching features from SqlSessionTemplate to execute a batch of statements for all items provided.
Provided to facilitate the migration from Spring-Batch iBATIS 2 writers to MyBatis 3
The user must provide a MyBatis statement id that points to the SQL statement defined in the MyBatis.
It is expected that MyBatisBatchItemWriter.write(List) is called inside a transaction.
MyBatisBatchItemWriter() - Constructor for class org.mybatis.spring.batch.MyBatisBatchItemWriter
 
MyBatisExceptionTranslator - Class in org.mybatis.spring
Default exception translator.
MyBatisExceptionTranslator(DataSource, boolean) - Constructor for class org.mybatis.spring.MyBatisExceptionTranslator
Creates a new DataAccessExceptionTranslator instance.
MyBatisPagingItemReader<T> - Class in org.mybatis.spring.batch
org.springframework.batch.item.ItemReader for reading database records using MyBatis in a paging fashion.
MyBatisPagingItemReader() - Constructor for class org.mybatis.spring.batch.MyBatisPagingItemReader
 
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(Throwable) - Constructor for exception org.mybatis.spring.MyBatisSystemException
 

N

NamespaceHandler - Class in org.mybatis.spring.config
Namespace handler for the MyBatis namespace.
NamespaceHandler() - Constructor for class org.mybatis.spring.config.NamespaceHandler
 
newTransaction(DataSource, TransactionIsolationLevel, boolean) - Method in class org.mybatis.spring.transaction.SpringManagedTransactionFactory
newTransaction(Connection) - Method in class org.mybatis.spring.transaction.SpringManagedTransactionFactory

O

onApplicationEvent(ApplicationEvent) - Method in class org.mybatis.spring.SqlSessionFactoryBean
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 MyBatis annotations
org.mybatis.spring.batch - package org.mybatis.spring.batch
Contains classes to facilitate the migration in Spring-Batch applications.
org.mybatis.spring.config - package org.mybatis.spring.config
Contains the MyBatis namespace schema and element handlers.
org.mybatis.spring.mapper - package org.mybatis.spring.mapper
Contains classes for automatically building MyBatis mapper proxy classes at application startup.
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

parse(Element, ParserContext) - Method in class org.mybatis.spring.config.MapperScannerBeanDefinitionParser
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer

R

registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class org.mybatis.spring.annotation.MapperScannerRegistrar
registerFilters() - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
Configures parent scanner to search for the right interfaces.
rollback() - Method in class org.mybatis.spring.SqlSessionTemplate
rollback(boolean) - Method in class org.mybatis.spring.SqlSessionTemplate
rollback() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction

S

select(String, ResultHandler) - Method in class org.mybatis.spring.SqlSessionTemplate
select(String, Object, ResultHandler) - Method in class org.mybatis.spring.SqlSessionTemplate
select(String, Object, RowBounds, ResultHandler) - Method in class org.mybatis.spring.SqlSessionTemplate
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
selectMap(String, String) - Method in class org.mybatis.spring.SqlSessionTemplate
selectMap(String, Object, String) - Method in class org.mybatis.spring.SqlSessionTemplate
selectMap(String, Object, String, RowBounds) - Method in class org.mybatis.spring.SqlSessionTemplate
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.mapper.ClassPathMapperScanner
 
setAddToConfig(boolean) - Method in class org.mybatis.spring.mapper.MapperFactoryBean
If addToConfig is false the mapper will not be added to MyBatis.
setAddToConfig(boolean) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
Same as MapperFactoryBean#setAddToConfig(boolean).
setAnnotationClass(Class<? extends Annotation>) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
 
setAnnotationClass(Class<? extends Annotation>) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
This property specifies the annotation that the scanner will search for.
setApplicationContext(ApplicationContext) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
setAssertUpdates(boolean) - Method in class org.mybatis.spring.batch.MyBatisBatchItemWriter
Public setter for the flag that determines whether an assertion is made that all items cause at least one row to be updated.
setBasePackage(String) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
This property lets you set the base package for your mapper interface files.
setBeanName(String) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
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 &lt;properties&gt; tag in the configuration xml file.
setDatabaseIdProvider(DatabaseIdProvider) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Sets the DatabaseIdProvider.
setDataSource(DataSource) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set the JDBC DataSource that this instance should manage transactions for.
setEnvironment(String) - Method in class org.mybatis.spring.SqlSessionFactoryBean
NOTE: This class overrides any Environment you have set in the MyBatis config file.
setFailFast(boolean) - Method in class org.mybatis.spring.SqlSessionFactoryBean
If true, a final check is done on Configuration to assure that all mapped statements are fully loaded and there is no one still pending to resolve includes.
setMapperFactoryBean(MapperFactoryBean) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
 
setMapperInterface(Class<T>) - Method in class org.mybatis.spring.mapper.MapperFactoryBean
Sets the mapper interface of the MyBatis mapper
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.
setMarkerInterface(Class<?>) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
 
setMarkerInterface(Class<?>) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
This property specifies the parent that the scanner will search for.
setNameGenerator(BeanNameGenerator) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
Sets beanNameGenerator to be used while running the scanner.
setObjectFactory(ObjectFactory) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Sets the ObjectFactory.
setObjectWrapperFactory(ObjectWrapperFactory) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Sets the ObjectWrapperFactory.
setParameterValues(Map<String, Object>) - Method in class org.mybatis.spring.batch.MyBatisPagingItemReader
The parameter values to be used for the query execution.
setPlugins(Interceptor[]) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Mybatis plugin list.
setProcessPropertyPlaceHolders(boolean) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
 
setProperties(Properties) - Method in class org.mybatis.spring.transaction.SpringManagedTransactionFactory
setQueryId(String) - Method in class org.mybatis.spring.batch.MyBatisPagingItemReader
Public setter for the statement id identifying the statement in the SqlMap configuration file.
setResourceLoader(ResourceLoader) - Method in class org.mybatis.spring.annotation.MapperScannerRegistrar
setSqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.batch.MyBatisBatchItemWriter
Public setter for SqlSessionFactory for injection purposes.
setSqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.batch.MyBatisPagingItemReader
Public setter for SqlSessionFactory for injection purposes.
setSqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
 
setSqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
setSqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
 
setSqlSessionFactoryBeanName(String) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
 
setSqlSessionFactoryBeanName(String) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
Specifies which SqlSessionFactory to use in the case that there is more than one in the spring context.
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.batch.MyBatisBatchItemWriter
Public setter for the SqlSessionTemplate.
setSqlSessionTemplate(SqlSessionTemplate) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
 
setSqlSessionTemplate(SqlSessionTemplate) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
setSqlSessionTemplate(SqlSessionTemplate) - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
 
setSqlSessionTemplateBeanName(String) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
 
setSqlSessionTemplateBeanName(String) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
Specifies which SqlSessionTemplate to use in the case that there is more than one in the spring context.
setStatementId(String) - Method in class org.mybatis.spring.batch.MyBatisBatchItemWriter
Public setter for the statement id identifying the statement in the SqlMap configuration file.
setTransactionFactory(TransactionFactory) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set the MyBatis TransactionFactory to use.
setTypeAliases(Class<?>[]) - Method in class org.mybatis.spring.SqlSessionFactoryBean
List of type aliases to register.
setTypeAliasesPackage(String) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Packages to search for type aliases.
setTypeAliasesSuperType(Class<?>) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Super class which domain objects have to extend to have a type alias created.
setTypeHandlers(TypeHandler<?>[]) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Set type handlers.
setTypeHandlersPackage(String) - Method in class org.mybatis.spring.SqlSessionFactoryBean
Packages to search for type handlers.
SpringManagedTransaction - Class in org.mybatis.spring.transaction
SpringManagedTransaction handles the lifecycle of a JDBC connection.
SpringManagedTransaction(DataSource) - 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
 
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, PersistenceExceptionTranslator) - Constructor for class org.mybatis.spring.SqlSessionHolder
Creates a new holder instance.
SqlSessionTemplate - Class in org.mybatis.spring
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.
SqlSessionTemplate(SqlSessionFactory) - Constructor for class org.mybatis.spring.SqlSessionTemplate
Constructs a Spring managed SqlSession with the SqlSessionFactory provided as an argument.
SqlSessionTemplate(SqlSessionFactory, ExecutorType) - Constructor for class org.mybatis.spring.SqlSessionTemplate
Constructs a Spring managed SqlSession with the SqlSessionFactory provided as an argument and the given ExecutorType ExecutorType cannot be changed once the SqlSessionTemplate is constructed.
SqlSessionTemplate(SqlSessionFactory, ExecutorType, PersistenceExceptionTranslator) - Constructor for class org.mybatis.spring.SqlSessionTemplate
Constructs a Spring managed SqlSession with the given SqlSessionFactory and ExecutorType.
SqlSessionUtils - Class in org.mybatis.spring
Handles MyBatis SqlSession life cycle.

T

translateExceptionIfPossible(RuntimeException) - Method in class org.mybatis.spring.MyBatisExceptionTranslator

U

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

W

write(List<? extends T>) - Method in class org.mybatis.spring.batch.MyBatisBatchItemWriter
A B C D F G I M N O P R S T U W 

Copyright © 2010–2015 MyBatis.org. All rights reserved.