con.setAutoCommit(false);
... executeBath();
con.commit();
con.setAutoCommit(true);