A B C D E F G I L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
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.MyBatisCursorItemReader
-
Check mandatory properties.
- 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
- annotationClass() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
This property specifies the annotation that the scanner will search for.
- assertUpdates(boolean) - Method in class org.mybatis.spring.batch.builder.MyBatisBatchItemWriterBuilder
-
The flag that determines whether an assertion is made that all items cause at least one row to be updated.
B
- basePackageClasses() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
Type-safe alternative to
MapperScan.basePackages()
for specifying the packages to scan for annotated components. - basePackages() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
Base packages to scan for MyBatis interfaces.
- build() - Method in class org.mybatis.spring.batch.builder.MyBatisBatchItemWriterBuilder
-
Returns a fully built
MyBatisBatchItemWriter
. - build() - Method in class org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
-
Returns a fully built
MyBatisCursorItemReader
. - build() - Method in class org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
-
Returns a fully built
MyBatisPagingItemReader
. - 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 bybasePackage
,annotationClass
, ormarkerInterface
. - 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 SpringTransactionSynchronizationManager
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() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction
- commit(boolean) - Method in class org.mybatis.spring.SqlSessionTemplate
- createSqlSessionTemplate(SqlSessionFactory) - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
-
Create a SqlSessionTemplate for the given SqlSessionFactory.
D
- debug(Supplier<String>) - Method in class org.mybatis.logging.Logger
- delete(String) - Method in class org.mybatis.spring.SqlSessionTemplate
- delete(String, Object) - Method in class org.mybatis.spring.SqlSessionTemplate
- destroy() - Method in class org.mybatis.spring.SqlSessionTemplate
-
Allow gently dispose bean:
- doClose() - Method in class org.mybatis.spring.batch.MyBatisCursorItemReader
- doJumpToPage(int) - Method in class org.mybatis.spring.batch.MyBatisPagingItemReader
- doOpen() - Method in class org.mybatis.spring.batch.MyBatisCursorItemReader
- doRead() - Method in class org.mybatis.spring.batch.MyBatisCursorItemReader
- 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.
E
- error(Supplier<String>) - Method in class org.mybatis.logging.Logger
- error(Supplier<String>, Throwable) - Method in class org.mybatis.logging.Logger
F
- factoryBean() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
Specifies a custom MapperFactoryBean to return a mybatis proxy as spring bean.
- flushStatements() - Method in class org.mybatis.spring.SqlSessionTemplate
G
- getCache() - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Gets the Cache.
- 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
- getLogger(Class<?>) - Static method in class org.mybatis.logging.LoggerFactory
- getLogger(String) - Static method in class org.mybatis.logging.LoggerFactory
- 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() - 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.
- getSqlSession(SqlSessionFactory) - Static method in class org.mybatis.spring.SqlSessionUtils
-
Creates a new MyBatis
SqlSession
from theSqlSessionFactory
provided as a parameter and using itsDataSource
andExecutorType
- 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.
- getSqlSessionFactory() - Method in class org.mybatis.spring.SqlSessionTemplate
- getSqlSessionFactory() - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
-
Return the MyBatis SqlSessionFactory used by this DAO.
- getSqlSessionTemplate() - Method in class org.mybatis.spring.support.SqlSessionDaoSupport
-
Return the SqlSessionTemplate for this DAO, pre-initialized with the SessionFactory or set explicitly.
- getTimeout() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction
- getVfs() - Method in class org.mybatis.spring.SqlSessionFactoryBean
-
Gets the VFS.
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 - itemToParameterConverter(Converter<T, ?>) - Method in class org.mybatis.spring.batch.builder.MyBatisBatchItemWriterBuilder
-
Set a converter that converting item to parameter object.
L
- lazyInitialization() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
Whether enable lazy initialization of mapper bean.
- Logger - Class in org.mybatis.logging
-
Wrapper of
Log
, allow log with lambda expressions. - LoggerFactory - Class in org.mybatis.logging
-
LoggerFactory is a wrapper around
LogFactory
to supportLogger
.
M
- MapperFactoryBean<T> - Class in org.mybatis.spring.mapper
-
BeanFactory that enables injection of MyBatis mapper interfaces.
- MapperFactoryBean() - Constructor for class org.mybatis.spring.mapper.MapperFactoryBean
- MapperFactoryBean(Class<T>) - 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
- MapperScans - Annotation Type in org.mybatis.spring.annotation
-
The Container annotation that aggregates several
MapperScan
annotations. - markerInterface() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
This property specifies the parent that the scanner will search for.
- maxItemCount(int) - Method in class org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
-
Configure the max number of items to be read.
- maxItemCount(int) - Method in class org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
-
Configure the max number of items to be read.
- MyBatisBatchItemWriter<T> - Class in org.mybatis.spring.batch
-
ItemWriter
that uses the batching features fromSqlSessionTemplate
to execute a batch of statements for all items provided. - MyBatisBatchItemWriter() - Constructor for class org.mybatis.spring.batch.MyBatisBatchItemWriter
- MyBatisBatchItemWriterBuilder<T> - Class in org.mybatis.spring.batch.builder
-
A builder for the
MyBatisBatchItemWriter
. - MyBatisBatchItemWriterBuilder() - Constructor for class org.mybatis.spring.batch.builder.MyBatisBatchItemWriterBuilder
- MyBatisCursorItemReader<T> - Class in org.mybatis.spring.batch
- MyBatisCursorItemReader() - Constructor for class org.mybatis.spring.batch.MyBatisCursorItemReader
- MyBatisCursorItemReaderBuilder<T> - Class in org.mybatis.spring.batch.builder
-
A builder for the
MyBatisCursorItemReader
. - MyBatisCursorItemReaderBuilder() - Constructor for class org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
- MyBatisExceptionTranslator - Class in org.mybatis.spring
-
Default exception translator.
- MyBatisExceptionTranslator(Supplier<SQLExceptionTranslator>, boolean) - Constructor for class org.mybatis.spring.MyBatisExceptionTranslator
-
Creates a new
PersistenceExceptionTranslator
instance with specifiedSQLExceptionTranslator
. - MyBatisExceptionTranslator(DataSource, boolean) - Constructor for class org.mybatis.spring.MyBatisExceptionTranslator
-
Creates a new
PersistenceExceptionTranslator
instance withSQLErrorCodeSQLExceptionTranslator
. - 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
- MyBatisPagingItemReaderBuilder<T> - Class in org.mybatis.spring.batch.builder
-
A builder for the
MyBatisPagingItemReader
. - MyBatisPagingItemReaderBuilder() - Constructor for class org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
- MyBatisSystemException - Exception in org.mybatis.spring
-
MyBatis specific subclass of
UncategorizedDataAccessException
, for MyBatis system errors that do not match any concreteorg.springframework.dao
exceptions. - MyBatisSystemException(Throwable) - Constructor for exception org.mybatis.spring.MyBatisSystemException
N
- nameGenerator() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
The
BeanNameGenerator
class to be used for naming detected components within the Spring container. - NamespaceHandler - Class in org.mybatis.spring.config
-
Namespace handler for the MyBatis namespace.
- NamespaceHandler() - Constructor for class org.mybatis.spring.config.NamespaceHandler
- newTransaction(Connection) - Method in class org.mybatis.spring.transaction.SpringManagedTransactionFactory
- newTransaction(DataSource, TransactionIsolationLevel, boolean) - Method in class org.mybatis.spring.transaction.SpringManagedTransactionFactory
O
- onApplicationEvent(ApplicationEvent) - Method in class org.mybatis.spring.SqlSessionFactoryBean
- org.mybatis.logging - package org.mybatis.logging
- 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.batch.builder - package org.mybatis.spring.batch.builder
-
Contains classes to builder classes for
ItemReader
andItemWriter
. - 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
- pageSize(int) - Method in class org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
-
The number of records to request per page/query.
- parameterValues(Map<String, Object>) - Method in class org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
-
Set the parameter values to be used for the query execution.
- parameterValues(Map<String, Object>) - Method in class org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
-
Set the parameter values to be used for the query execution.
- parseInternal(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
Q
- queryId(String) - Method in class org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
-
Set the query id identifying the statement in the SqlMap configuration file.
- queryId(String) - Method in class org.mybatis.spring.batch.builder.MyBatisPagingItemReaderBuilder
-
Set the query id identifying the statement in the SqlMap configuration file.
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() - Method in class org.mybatis.spring.transaction.SpringManagedTransaction
- rollback(boolean) - Method in class org.mybatis.spring.SqlSessionTemplate
S
- saveState(boolean) - Method in class org.mybatis.spring.batch.builder.MyBatisCursorItemReaderBuilder
-
Configure if the state of the
ItemStreamSupport
should be persisted within theExecutionContext
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 theExecutionContext
for restart purposes. - select(String, Object, ResultHandler) - Method in class org.mybatis.spring.SqlSessionTemplate
- select(String, Object, RowBounds, ResultHandler) - Method in class org.mybatis.spring.SqlSessionTemplate
- select(String, 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, Object, String) - Method in class org.mybatis.spring.SqlSessionTemplate
- selectMap(String, Object, String, RowBounds) - Method in class org.mybatis.spring.SqlSessionTemplate
- selectMap(String, String) - 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. - 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
-
Deprecated.Since 2.0.1, Please use the
ClassPathMapperScanner.setMapperFactoryBeanClass(Class)
. - 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
-
The class of the
MapperFactoryBean
to return a mybatis proxy as spring bean. - 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
-
Deprecated.Since 2.0.2, this method not used never.
- 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
-
Deprecated.
- 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 theSqlSessionFactory
. - 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
-
Deprecated.
- 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 MyBatisSqlSessionFactory
. - SqlSessionFactoryBean() - Constructor for class org.mybatis.spring.SqlSessionFactoryBean
- sqlSessionFactoryRef() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
Specifies which
SqlSessionFactory
to use in the case that there is more than one in the spring context. - SqlSessionHolder - Class in org.mybatis.spring
-
Used to keep current
SqlSession
inTransactionSynchronizationManager
. - 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
-
Set the
SqlSessionTemplate
to be used by writer for database access. - 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 givenExecutorType
ExecutorType
cannot be changed once theSqlSessionTemplate
is constructed. - SqlSessionTemplate(SqlSessionFactory, ExecutorType, PersistenceExceptionTranslator) - Constructor for class org.mybatis.spring.SqlSessionTemplate
-
Constructs a Spring managed
SqlSession
with the givenSqlSessionFactory
andExecutorType
. - sqlSessionTemplateRef() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
Specifies which
SqlSessionTemplate
to use in the case that there is more than one in the spring context. - 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.
T
- trace(Supplier<String>) - Method in class org.mybatis.logging.Logger
- 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
V
- value() - Method in annotation type org.mybatis.spring.annotation.MapperScan
-
Alias for the
MapperScan.basePackages()
attribute. - value() - Method in annotation type org.mybatis.spring.annotation.MapperScans
W
- warn(Supplier<String>) - Method in class org.mybatis.logging.Logger
- write(List<? extends T>) - Method in class org.mybatis.spring.batch.MyBatisBatchItemWriter
All Classes All Packages