You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Clinton Begin <cl...@gmail.com> on 2004/12/01 21:00:43 UTC

RE: Problem in executing a batch

> I'm currently using IBatis version 2.0.3. I'm not able to work upon with Batch. I'm 
> doing the following : 
> sqlMap.startBatch(); 

Are you starting a the transaction too?  So...

startTransaction()
startBatch()
insert...
update...
executeBatch()
commitTransaction()
endTransaction