wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Consider Paul's rocket mass heater.
subject: Batch Update using spring and ibatis
Similar Threads
Ibatis : java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException
Java & Outlook integration - how to go about it
Can I use EL to access the index of a list?
MultiDimenaional Array sort
How to set Logging level (DEBUG) struts and tiles