[ Web Proxy ]
URL:
Viewing: https://docs.oracle.com/en/java/javase/24/docs/api/java.sql/java/sql/DataTruncation.html [Back]  [Original]

DataTruncation (Java SE 24 & JDK 24)
Contents 
Hide sidebar ❮❯ Show sidebar
  1. Description
  2. Constructor Summary
  3. Method Summary
  4. Constructor Details
    1. DataTruncation(int, boolean, boolean, int, int)
    2. DataTruncation(int, boolean, boolean, int, int, Throwable)
  5. Method Details
    1. getIndex()
    2. getParameter()
    3. getRead()
    4. getDataSize()
    5. getTransferSize()

Class DataTruncation

java.lang.Object
All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class DataTruncation extends SQLWarning
An exception thrown as a DataTruncation exception (on writes) or reported as a DataTruncation warning (on reads) when a data values is unexpectedly truncated for reasons other than its having exceeded MaxFieldSize.

The SQLstate for a DataTruncation during read is 01004.

The SQLstate for a DataTruncation during write is 22001.

Since:
1.1
See Also:


Web Proxy Viewer  |  New URL  |  Original Page