addBatch()

Syntax:

void addBatch()
              throws SQLException

Description:

Adds a set of parameters to this PreparedStatement object's batch of commands.

Throws:

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

Reference:

For more information, reference JDBC documentation for: PreparedStatement.addBatch()