Basically I have (ignoring exception handling, etc.):
connection.setAutoCommit(false);
Statement statement1 = connection.createStatement();
statement1.executeUpdate("...");
statement1.close();
Statement statement2 = connection.createStatement();
statement2.executeUpdate("...");
statement2.close();
connection.commit();
If I understand correctly it shouldn't have any impact because all it really does is free the resources for ...