public abstract void clearBatch () throws SQLException

Empties this Statement object's current list of SQL commands.

Exceptions:
SQLException    if a database access error occurs, this method is called on a closed Statement or the driver does not support batch updates

See also:
addBatch, DatabaseMetaData.supportsBatchUpdates

Since:  1.2