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.
|
| void | clearBatch () raises (SQLException) |
| | makes the set of commands in the current batch empty.
|
| sequence< long > | executeBatch () raises (SQLException) |
| | submits a batch of commands to the database for execution.
|
| any | queryInterface ([in] type aType) |
| | queries for a new interface to an existing UNO object.
|
| void | acquire () |
| | increases the reference counter by one.
|
| void | release () |
| | decreases the reference counter by one.
|
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: