DataTruncation.DataTruncation

DataTruncation.DataTruncation

Class Overview | Class Members | This Package | All Packages

Syntax
public DataTruncation( int index, boolean parameter, boolean read, int dataSize, int transferSize )
Parameters
index
The index of the parameter or column value
parameter
true if a parameter value was truncated
read
true if a read was truncated
dataSize
the original size of the data
transferSize
the size after truncation
Description

Create a DataTruncation object. The SQLState is initialized to 01004, the reason is set to "Data truncation" and the vendorCode is set to the SQLException default.