All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.sql.SQLException
|
+----java.sql.SQLWarning
|
+----java.sql.DataTruncation
When JDBC unexpectedly truncates a data value it reports a DataTruncation warning (on reads) or throws a DataTruncation exception (on writes). The SQLstate for a DataTruncation is set to "01004".
public DataTruncation(int index,
boolean parameter,
boolean read,
int dataSize,
int transferSize)
public int getIndex()
This may be -1 if the column or parameter index is unknown, in which case the "parameter" and "read" fields should be ignored.
public boolean getParameter()
public boolean getRead()
public int getDataSize()
public int getTransferSize()
All Packages Class Hierarchy This Package Previous Next Index