clearBatch()

Syntax:

void clearBatch()
                throws SQLException

Description:

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

Throws:

SQLException - if a database access error occurs or the statement has been closed

Reference:

For more information, reference JDBC documentation for: Statement.clearBatch()