- Class DataTruncation
- Constructor Summary
- Method Summary
- Methods declared in class java.sql.SQLWarning
- Methods declared in class java.sql.SQLException
- Methods declared in class java.lang.Throwable
- Methods declared in class java.lang.Object
- Methods declared in interface java.lang.Iterable
- Constructor Details
- DataTruncation
- DataTruncation
- Method Details
- getIndex
- getParameter
- getRead
- getDataSize
- getTransferSize
- Class DataTruncation
- Constructor Summary
- Method Summary
- Methods declared in class java.sql.SQLWarning
- Methods declared in class java.sql.SQLException
- Methods declared in class java.lang.Throwable
- Methods declared in class java.lang.Object
- Methods declared in interface java.lang.Iterable
- Constructor Details
- DataTruncation
- DataTruncation
- Method Details
- getIndex
- getParameter
- getRead
- getDataSize
- getTransferSize
- Class DataTruncation
- Constructor Summary
- Method Summary
- Methods declared in class java.sql.SQLWarning
- Methods declared in class java.sql.SQLException
- Methods declared in class java.lang.Throwable
- Methods declared in class java.lang.Object
- Methods declared in interface java.lang.Iterable
- Constructor Details
- DataTruncation
- DataTruncation
- Method Details
- getIndex
- getParameter
- getRead
- getDataSize
- getTransferSize
- Class DataTruncation
- Constructor Summary
- Method Summary
- Methods declared in class java.sql.SQLWarning
- Methods declared in class java.sql.SQLException
- Methods declared in class java.lang.Throwable
- Methods declared in class java.lang.Object
- Methods declared in interface java.lang.Iterable
- Constructor Details
- DataTruncation
- DataTruncation
- Method Details
- getIndex
- getParameter
- getRead
- getDataSize
- getTransferSize
Class DataTruncation
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 .
Constructor Summary
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
DataTruncation (int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
Method Summary
Methods declared in class java.sql.SQLWarning
Methods declared in class java.sql.SQLException
Methods declared in class java.lang.Throwable
Methods declared in class java.lang.Object
Methods declared in interface java.lang.Iterable
Constructor Details
DataTruncation
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values. The cause is not initialized, and may subsequently be initialized by a call to the Throwable.initCause(java.lang.Throwable) method.
DataTruncation
public DataTruncation (int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
Method Details
getIndex
Retrieves the index of the column or parameter that was truncated. This may be -1 if the column or parameter index is unknown, in which case the parameter and read fields should be ignored.
getParameter
getRead
getDataSize
Gets 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.
getTransferSize
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2021, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
Class DataTruncation
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 .
Constructor Summary
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
DataTruncation (int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
Method Summary
Methods declared in class java.sql.SQLWarning
Methods declared in class java.sql.SQLException
Methods declared in class java.lang.Throwable
Methods declared in class java.lang.Object
Methods declared in interface java.lang.Iterable
Constructor Details
DataTruncation
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values. The cause is not initialized, and may subsequently be initialized by a call to the Throwable.initCause(java.lang.Throwable) method.
DataTruncation
public DataTruncation (int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
Method Details
getIndex
Retrieves the index of the column or parameter that was truncated. This may be -1 if the column or parameter index is unknown, in which case the parameter and read fields should be ignored.
getParameter
getRead
getDataSize
Gets 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.
getTransferSize
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
Class DataTruncation
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 .
Constructor Summary
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
DataTruncation (int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
Method Summary
Methods declared in class java.sql.SQLWarning
Methods declared in class java.sql.SQLException
Methods declared in class java.lang.Throwable
Methods declared in class java.lang.Object
Methods declared in interface java.lang.Iterable
Constructor Details
DataTruncation
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values. The cause is not initialized, and may subsequently be initialized by a call to the Throwable.initCause(java.lang.Throwable) method.
DataTruncation
public DataTruncation (int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
Method Details
getIndex
Retrieves the index of the column or parameter that was truncated. This may be -1 if the column or parameter index is unknown, in which case the parameter and read fields should be ignored.
getParameter
getRead
getDataSize
Gets 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.
getTransferSize
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2023, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
Class DataTruncation
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 .
Constructor Summary
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
DataTruncation (int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
Method Summary
Methods declared in class java.sql.SQLWarning
Methods declared in class java.sql.SQLException
Methods declared in class java.lang.Throwable
Methods declared in class java.lang.Object
Methods declared in interface java.lang.Iterable
Constructor Details
DataTruncation
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values. The cause is not initialized, and may subsequently be initialized by a call to the Throwable.initCause(java.lang.Throwable) method.
DataTruncation
public DataTruncation (int index, boolean parameter, boolean read, int dataSize, int transferSize, Throwable cause)
Creates a DataTruncation object with the SQLState initialized to 01004 when read is set to true and 22001 when read is set to false , the reason set to «Data truncation», the vendor code set to 0, and the other fields set to the given values.
Method Details
getIndex
Retrieves the index of the column or parameter that was truncated. This may be -1 if the column or parameter index is unknown, in which case the parameter and read fields should be ignored.
getParameter
getRead
getDataSize
Gets 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.
getTransferSize
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2022, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
DRAFT 19-panama+1-13