my java class extends
org.mybatis.spring.support.SqlSessionDaoSupport;
and i get the sqlSession
but i look
the code {
@Autowired(required = false)
public final void setSqlSessionFactory(SqlSessionFactory
sqlSessionFactory) {
if (!this.externalSqlSession) {
this.sqlSession = new
SqlSessionTemplate(sqlSessionFactory);
}
}
}
and the new SqlSessionTemplate(sqlSessionFactory) base use
this(sqlSessionFactory,
sqlSessionFactory.getConfiguration().getDefaultExecutorType());
sqlSessionFactory.getConfiguration().getDefaultExecutorType() ==
ExecutorType.SIMPLE
how can i use ExecutorType. BATCH???
thks all
You have some info about this example in MyBatis-Spring manual (last
page).
On 4 dic, 13:50, c c <ele.test...@gmail.com> wrote:
> can anyone give some example use batch insert or update
>
> with ibatis3 ?thks
>
> 2011/11/27 Eduardo <eduardo.macar...@gmail.com>