|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
is used for batch execution on PreparedStatements. More...
import "XPreparedBatchExecution.idl";
Public Member Functions | |
| void | addBatch () raises (SQLException) |
| adds a set of parameters to the batch. | |
| 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. | |
| Public Member Functions inherited from XInterface | |
| 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 batch execution on PreparedStatements.
A com::sun::star::sdbc::PreparedStatement uses one precompiled SQL Statement. In batch execution it is possible to set collection of parameter settings, which are executed in one batch job.
| void addBatch | ( | ) | ||||
| raises | ( | SQLException ) | ||||
adds a set of parameters to the batch.
| SQLException | if a database access error occurs. |
| void clearBatch | ( | ) | ||||
| raises | ( | SQLException ) | ||||
makes the set of commands in the current batch empty.
| SQLException | if a database access error occurs. |
| sequence< long > executeBatch | ( | ) | ||||
| raises | ( | SQLException ) | ||||
submits a batch of commands to the database for execution.
| SQLException | if a database access error occurs. |