This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
 
It's not a secret anymore!