- saveState(boolean) - Method in class org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
-
Configure if the state of the ItemStreamSupport
should be persisted within
the ExecutionContext
for restart purposes.
- saveState(boolean) - Method in class org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
-
Configure if the state of the ItemStreamSupport
should be persisted within
the ExecutionContext
for restart purposes.
- 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
- selectCursor(String) - Method in class org.mybatis.spring.SqlSessionTemplate
- selectCursor(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate
- selectCursor(String, Object, RowBounds) - 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 number of BatchResult objects returned
is one and 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
- setCache(Cache) - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Sets the Cache.
- setConfigLocation(Resource) - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Set the location of the MyBatis SqlSessionFactory
config file.
- setConfiguration(Configuration) - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Set a customized MyBatis configuration.
- 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.
- setDefaultEnumTypeHandler(Class<? extends TypeHandler>) - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Set the default type handler class for enum.
- setDefaultScriptingLanguageDriver(Class<? extends LanguageDriver>) - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Set a default scripting language driver class.
- 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.
- setItemToParameterConverter(Converter<T, ?>) - Method in class org.mybatis.spring.batch.MyBatisBatchItemWriter
-
Public setter for a converter that converting item to parameter object.
- setLazyInitialization(boolean) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
-
Set whether enable lazy initialization for mapper bean.
- setLazyInitialization(String) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
-
Set whether enable lazy initialization for mapper bean.
- setMapperFactoryBean(MapperFactoryBean<?>) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
-
- setMapperFactoryBeanClass(Class<? extends MapperFactoryBean>) - Method in class org.mybatis.spring.mapper.ClassPathMapperScanner
-
Set the MapperFactoryBean
class.
- setMapperFactoryBeanClass(Class<? extends MapperFactoryBean>) - Method in class org.mybatis.spring.mapper.MapperScannerConfigurer
-
- 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.MyBatisCursorItemReader
-
The parameter values to be used for the query execution.
- 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
-
Specifies a flag that whether execute a property placeholder processing or not.
- setProperties(Properties) - Method in class org.mybatis.spring.transaction.SpringManagedTransactionFactory
- setQueryId(String) - Method in class org.mybatis.spring.batch.MyBatisCursorItemReader
-
Public setter for the statement id identifying the statement in the SqlMap configuration file.
- 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
-
- setScriptingLanguageDrivers(LanguageDriver...) - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Set scripting language drivers.
- 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.MyBatisCursorItemReader
-
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
-
Set MyBatis SqlSessionFactory to be used by this DAO.
- 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
-
Set the SqlSessionTemplate for this DAO explicitly, as an alternative to specifying a SqlSessionFactory.
- 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.
- setVfs(Class<? extends VFS>) - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Sets the VFS.
- shouldGenerateIdAsFallback() - Method in class org.mybatis.spring.config.MapperScannerBeanDefinitionParser
- 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
-
- sqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.batch.builder.MyBatisBatchItemWriterBuilder
-
Set the SqlSessionFactory
to be used by writer for database access.
- sqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
-
Set the SqlSessionFactory
to be used by reader for database access.
- sqlSessionFactory(SqlSessionFactory) - Method in class org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
-
Set the SqlSessionFactory
to be used by writer for database access.
- SqlSessionFactoryBean - Class in org.mybatis.spring
-
FactoryBean
that creates a 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(SqlSessionTemplate) - Method in class org.mybatis.spring.batch.builder.MyBatisBatchItemWriterBuilder
-
- 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.
- statementId(String) - Method in class org.mybatis.spring.batch.builder.MyBatisBatchItemWriterBuilder
-
Set the statement id identifying the statement in the SqlMap configuration file.