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 for
ItemReader and
ItemWriter . |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
MyBatisBatchItemWriter.setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
Public setter for the
SqlSessionTemplate . |
Modifier and Type | Method and Description |
---|---|
MyBatisBatchItemWriterBuilder<T> |
MyBatisBatchItemWriterBuilder.sqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
Set the
SqlSessionTemplate to be used by writer for database access. |
Modifier and Type | Method and Description |
---|---|
void |
MapperScannerConfigurer.setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
Deprecated.
|
void |
ClassPathMapperScanner.setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
SqlSessionDaoSupport.setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate)
Set the SqlSessionTemplate for this DAO explicitly,
as an alternative to specifying a SqlSessionFactory.
|
Copyright © 2010–2019 MyBatis.org. All rights reserved.