Methods' Details |
addBatch
- Description
- adds a SQL command to the current batch of commmands for the statement
object.
- Parameter sql
-
the SQL statement which should be appended to the batch.
- Throws
- SQLException
if a database access error occurs.
|
|
clearBatch
- Description
- makes the set of commands in the current batch empty.
- Throws
- SQLException
if a database access error occurs.
|
|
executeBatch
- Description
- submits a batch of commands to the database for execution.
- Returns
-
an array of update counts containing one element for each
command in the batch. The array is ordered according to the order in
which commands were inserted into the batch.
- Throws
- SQLException
if a database access error occurs.
|
|
Copyright © 2003 Sun Microsystems, Inc.