LibreOffice
LibreOffice 24.2 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. 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... | |
Public Member Functions inherited from XInterface | |
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 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. |