LibreOffice
LibreOffice 24.2 SDK API Reference
|
is thrown when an error occurs during a batch update operation. More...
import"BatchUpdateException.idl";
Public Attributes | |
sequence< long > | UpdateCounts |
is an array of long , with each element indicating the update count for a SQL command that executed successfully before the exception was thrown. More... | |
Public Attributes inherited from SQLException | |
string | SQLState |
returns a string, which uses the XOPEN SQLState conventions. More... | |
long | ErrorCode |
returns an integer error code that is specific to each vendor. More... | |
any | NextException |
returns a chain to the next Exception. More... | |
Public Attributes inherited from Exception | |
string | Message |
gives a detailed description of the reason, why the exception was thrown. More... | |
com::sun::star::uno::XInterface | Context |
should contain a reference to the original, which raised the exception. More... | |
is thrown when an error occurs during a batch update operation.
In addition to the information provided by com::sun::star::sdbc::SQLException , a BatchUpdateException
provides the update counts for all commands that were executed successfully during the batch update, that is, all commands that were executed before the error occurred. The order of elements in an array of update counts corresponds to the order in which commands were added to the batch.
sequence<long> UpdateCounts |
is an array of long
, with each element indicating the update count for a SQL command that executed successfully before the exception was thrown.