Name

DataTruncation

Synopsis

This subclass of SQLWarning is a special warning used when JDBC unexpectedly truncates a data value. It is chained as a warning on read operations and thrown as an exception on write operations.

                  Returned By
public class DataTruncation extends SQLWarning {
// Public Constructors
   public DataTruncation(int index, boolean parameter, 
        boolean read, int dataSize, int transferSize);  
// Property Accessor Methods (by property name)
   public int getDataSize();  
   public int getIndex();  
   public boolean getParameter();  
   public boolean getRead();  
   public int getTransferSize();  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.