public class LocalDaoImpl extends SqlMapClientDaoSupport implements LocalDao {

    
public void insertBuNaTaxBatLst(final PaginatedList list)
    {
         getSqlMapClientTemplate().execute(
new SqlMapClientCallback() {
                
public Object doInSqlMapClient(SqlMapExecutor executor)
                        
throws SQLException {
                    executor.startBatch();
                    
// do some iBatis operations here
                    for(int i=0,count=list.size();i<count;i++)
                    {    
                        executor.insert(
"insertBuNaTaxBatLst", list.get(i));
                        
if (i % 50 == 0) {
                            System.out.println(
"----" + i);//没有意义只为测试
                        }
                    }
                    executor.executeBatch();
                    
return null;
                }
            });
    }

}