8.3.4 clearBatch()
- Organization of this subsection
(1) Function
This method clears all SQL statements registered in this Statement object's batch.
(2) Format
public synchronized void clearBatch() throws SQLException
(3) Arguments
None.
(4) Return value
None.
(5) Exceptions
The JDBC driver throws an SQLException in the following cases:
-
The Statement object is closed.
-
The Connection object that created the Statement object is closed.