解決java,sql.SQLException:Can not issue data manipulation statements with executeQuery();

這個異常是說不可以用executeQuery()來操作數據。這裏說下executeQuery是查詢操作的運行,而增刪改insert/update/delete都是更新操作的運行executeUpdate()。
相關文章
相關標籤/搜索