Uses of Class
org.mybatis.spring.SqlSessionTemplate
-
Packages that use SqlSessionTemplate Package Description org.mybatis.spring.batch Contains classes to facilitate the migration in Spring-Batch applications.org.mybatis.spring.batch.builder Contains classes to builder classes forItemReader
andItemWriter
.org.mybatis.spring.mapper Contains classes for automatically building MyBatis mapper proxy classes at application startup.org.mybatis.spring.support Contains Spring3.X support classes for MyBatis. -
-
Uses of SqlSessionTemplate in org.mybatis.spring.batch
Methods in org.mybatis.spring.batch with parameters of type SqlSessionTemplate Modifier and Type Method Description void
MyBatisBatchItemWriter. setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
Public setter for theSqlSessionTemplate
. -
Uses of SqlSessionTemplate in org.mybatis.spring.batch.builder
Methods in org.mybatis.spring.batch.builder with parameters of type SqlSessionTemplate Modifier and Type Method Description MyBatisBatchItemWriterBuilder<T>
MyBatisBatchItemWriterBuilder. sqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
Set theSqlSessionTemplate
to be used by writer for database access. -
Uses of SqlSessionTemplate in org.mybatis.spring.mapper
Methods in org.mybatis.spring.mapper with parameters of type SqlSessionTemplate Modifier and Type Method Description void
ClassPathMapperScanner. setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
void
MapperScannerConfigurer. setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
Deprecated. -
Uses of SqlSessionTemplate in org.mybatis.spring.support
Methods in org.mybatis.spring.support that return SqlSessionTemplate Modifier and Type Method Description protected SqlSessionTemplate
SqlSessionDaoSupport. createSqlSessionTemplate(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
Create a SqlSessionTemplate for the given SqlSessionFactory.SqlSessionTemplate
SqlSessionDaoSupport. getSqlSessionTemplate()
Return the SqlSessionTemplate for this DAO, pre-initialized with the SessionFactory or set explicitly.Methods in org.mybatis.spring.support with parameters of type SqlSessionTemplate Modifier and Type Method Description void
SqlSessionDaoSupport. setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
Set the SqlSessionTemplate for this DAO explicitly, as an alternative to specifying a SqlSessionFactory.
-