reports a DataTruncation warning, on reads, or is thrown as a DataTruncation exception, on writes, when a data value is unexpectedly truncated. More...
import "DataTruncation.idl";
 
  
| Public Attributes | |
| long | Index | 
| is the index of the parameter or column value. | |
| boolean | IsParameter | 
| is TRUEif a parameter value is truncated. | |
| boolean | DuringRead | 
| is TRUEif a read was truncated. | |
| long | DataSize | 
| contains the number of bytes of data that should have been transferred. | |
| long | TransferSize | 
| contains the number of bytes of data actually transferred. | |
|  Public Attributes inherited from SQLException | |
| string | SQLState | 
| returns a string, which uses the XOPEN SQLState conventions. | |
| long | ErrorCode | 
| returns an integer error code that is specific to each vendor. | |
| any | NextException | 
| returns a chain to the next Exception. | |
|  Public Attributes inherited from Exception | |
| string | Message | 
| gives a detailed description of the reason, why the exception was thrown. | |
| com::sun::star::uno::XInterface | Context | 
| should contain a reference to the original, which raised the exception. | |
reports a DataTruncation warning, on reads, or is thrown as a DataTruncation exception, on writes, when a data value is unexpectedly truncated.
The SQL state for a DataTruncation is 01004. 
| long DataSize | 
contains the number of bytes of data that should have been transferred.
This number may be approximate if data conversions were being performed. The value may be -1 if the size is unknown. 
| boolean DuringRead | 
is TRUE if a read was truncated. 
| long Index | 
is the index of the parameter or column value.
| boolean IsParameter | 
is TRUE if a parameter value is truncated. 
| long TransferSize | 
contains the number of bytes of data actually transferred.
The value may be -1 if the size is unknown.