Previous Topic: Batch UpdatesNext Topic: Statement.executeBatch(String sql)


Using Batch Updates

An application uses the following methods to perform batch updates:

addBatch

Adds an SQL statement or set of parameter values to the batch.

clearBatch

Deletes SQL statements or parameters from the batch.

executeBatch

Executes the SQL statements in the batch.

Complete documentation for JDBC is available from Sun, IBM, and other sources. The JDBC 4.0 Specification contains an example of how an application would use this feature. The following sections describe CA IDMS specific considerations for this feature.