Uses of Class
org.mybatis.spring.SqlSessionTemplate
Package
Description
Contains classes to facilitate the migration in Spring-Batch applications.
Contains classes to builder classes for
ItemReader
and
ItemWriter
.Contains classes for automatically building MyBatis mapper proxy classes at application startup.
Contains Spring3.X support classes for MyBatis.
-
Uses of SqlSessionTemplate in org.mybatis.spring.batch
Modifier and TypeMethodDescriptionvoid
MyBatisBatchItemWriter.setSqlSessionTemplate
(SqlSessionTemplate sqlSessionTemplate) Public setter for theSqlSessionTemplate
. -
Uses of SqlSessionTemplate in org.mybatis.spring.batch.builder
Modifier and TypeMethodDescriptionMyBatisBatchItemWriterBuilder.sqlSessionTemplate
(SqlSessionTemplate sqlSessionTemplate) Set theSqlSessionTemplate
to be used by writer for database access. -
Uses of SqlSessionTemplate in org.mybatis.spring.mapper
Modifier and TypeMethodDescriptionvoid
ClassPathMapperScanner.setSqlSessionTemplate
(SqlSessionTemplate sqlSessionTemplate) void
MapperScannerConfigurer.setSqlSessionTemplate
(SqlSessionTemplate sqlSessionTemplate) Deprecated. -
Uses of SqlSessionTemplate in org.mybatis.spring.support
Modifier and TypeMethodDescriptionprotected SqlSessionTemplate
SqlSessionDaoSupport.createSqlSessionTemplate
(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory) Create a SqlSessionTemplate for the given SqlSessionFactory.SqlSessionDaoSupport.getSqlSessionTemplate()
Return the SqlSessionTemplate for this DAO, pre-initialized with the SessionFactory or set explicitly.Modifier and TypeMethodDescriptionvoid
SqlSessionDaoSupport.setSqlSessionTemplate
(SqlSessionTemplate sqlSessionTemplate) Set the SqlSessionTemplate for this DAO explicitly, as an alternative to specifying a SqlSessionFactory.
MapperScannerConfigurer.setSqlSessionTemplateBeanName(String)
instead