public void batchUpdateExec(String sqlId, ListObject param) throws DaoException { if (sqlId != null sqlId.length() 0) { if (param != null param.size() 0) { try { this.getSqlMapClient().startBatch(); for (int i = 0; i param.size(); i) { thi public void batchUpdateExec(String sqlId, List param) throws DaoException { if (sqlId != null && sqlId.length() > 0) { if (param != null && param.size() > 0) { try { this.getSqlMapClient().startBatch(); for (int i = 0; i this.getSqlMapClient().update(sqlId, param.get(i)); } this.getSqlMapClient().executeBatch(); } catch (SQLException e) { throw new DaoException(e); } } } } 09-17 22:47