java批处理异常继续执行

try{sql rows = stmt.executeBatch();spa }catch{io //批处理出现异常,此时咱们在这里处理的方式是逐条执行,这样就能让批处理中的SQL语句执行完成。List for(String sqlss : sqlList){异常     try{co stmt.execute(sqlss); }catch(SQLException e1){ continue;/
相关文章
相关标签/搜索