Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: sdbc ::
interface XBatchExecution
Description is used for collecting and executing a set of SQL statements.

Methods' Summary
addBatch | adds a SQL command to the current batch of commands for the statement object.
clearBatch | makes the set of commands in the current batch empty.
executeBatch | submits a batch of commands to the database for execution.

Methods' Details
addBatch
void
addBatch( | [in] string | sql )
raises( | SQLException );
Description adds a SQL command to the current batch of commands 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
void
clearBatch()
raises( | SQLException );
Description makes the set of commands in the current batch empty. Throws SQLException if a database access error occurs.
executeBatch
sequence< long >
executeBatch()
raises( | SQLException );
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.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.