您的位置首页生活百科 executeBatch用执行commit吗 Simone 发布于 2026-01-05 23:40:46 827 阅读 executeBatch用执行commit吗的有关信息介绍如下:con.setAutoCommit(false);已经关闭了自动commit了,当然要手动commit一般增删改操作都要commit一下。con.setAutoCommit(false);不加这句还可以。