- 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
<properties>
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
-
- 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.