executeBatch()批量執行Sql語句

executeBatch()方法:用於成批地執行SQL語句,但不能執行返回值是ResultSet結果集的SQL語句,而是直接執行stmt.executeBatch(); addBatch():向批處理中加入一個更新語句。 clearBatch():清空批處理中的更新語句web public void executeBatch() throws SQLException {
相關文章
相關標籤/搜索