File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Batch Update using spring and ibatis" Watch "Batch Update using spring and ibatis" New topic

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 {
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:
subject: Batch Update using spring and ibatis
Similar Threads
Can I use EL to access the index of a list?
MultiDimenaional Array sort
Java & Outlook integration - how to go about it
Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException
How to set Logging level (DEBUG) struts and tiles