Removed ExecStatement#executeBatch, ExecBatchStatement should be used.

This commit is contained in:
Rsl1122 2019-02-19 12:52:27 +02:00
parent 4f63a3771b
commit ee50ebde2c

View File

@ -64,16 +64,6 @@ public abstract class ExecStatement implements Executable {
}
}
@Deprecated
public void executeBatch(PreparedStatement statement) throws SQLException {
try {
prepare(statement);
statement.executeBatch();
} finally {
statement.close();
}
}
public abstract void prepare(PreparedStatement statement) throws SQLException;
public String getSql() {