This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Batch Update using spring and ibatis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Batch Update using spring and ibatis" Watch "Batch Update using spring and ibatis" New topic
Author

Batch Update using spring and ibatis

Shasi Mitra
Ranch Hand

Joined: Nov 27, 2008
Posts: 101

Hi. I tried using the following with ibatis
getSqlMapClientTemplate().execute(new SqlMapClientCallback() {
public Object doInSqlMapClient(SqlMapExecutor executor)
throws SQLException {
executor.startBatch();
for (int i = 0; i < myList.size(); i++) {
executor.insert("mySQLNameSpace.updateTable", myList.get(i));
BatchResult e = null;
}
}

It is not working at all. Its giving me the following exception.
No statement named "updateTable". Any help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Batch Update using spring and ibatis