is used for collecting and executing a set of SQL statements.
More...
import"XBatchExecution.idl";
|
void | addBatch ([in]string sql) raises (SQLException) |
| adds a SQL command to the current batch of commands for the statement object. More...
|
|
void | clearBatch () raises (SQLException) |
| makes the set of commands in the current batch empty. More...
|
|
sequence< long > | executeBatch () raises (SQLException) |
| submits a batch of commands to the database for execution. More...
|
|
any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. More...
|
|
void | acquire () |
| increases the reference counter by one. More...
|
|
void | release () |
| decreases the reference counter by one. More...
|
|
is used for collecting and executing a set of SQL statements.
◆ addBatch()
adds a SQL command to the current batch of commands for the statement object.
- Parameters
-
sql | the SQL statement which should be appended to the batch. |
- Exceptions
-
◆ clearBatch()
makes the set of commands in the current batch empty.
- Exceptions
-
◆ executeBatch()
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.
- Exceptions
-
The documentation for this interface was generated from the following file: