Data truncation sql java

Содержание
  1. Class DataTruncation
  2. Constructor Summary
  3. Method Summary
  4. Methods declared in class java.sql.SQLWarning
  5. Methods declared in class java.sql.SQLException
  6. Methods declared in class java.lang.Throwable
  7. Methods declared in class java.lang.Object
  8. Methods declared in interface java.lang.Iterable
  9. Constructor Details
  10. DataTruncation
  11. DataTruncation
  12. Method Details
  13. getIndex
  14. getParameter
  15. getRead
  16. getDataSize
  17. getTransferSize
  18. Class DataTruncation
  19. Constructor Summary
  20. Method Summary
  21. Methods declared in class java.sql.SQLWarning
  22. Methods declared in class java.sql.SQLException
  23. Methods declared in class java.lang.Throwable
  24. Methods declared in class java.lang.Object
  25. Methods declared in interface java.lang.Iterable
  26. Constructor Details
  27. DataTruncation
  28. DataTruncation
  29. Method Details
  30. getIndex
  31. getParameter
  32. getRead
  33. getDataSize
  34. getTransferSize
  35. Class DataTruncation
  36. Constructor Summary
  37. Method Summary
  38. Methods declared in class java.sql.SQLWarning
  39. Methods declared in class java.sql.SQLException
  40. Methods declared in class java.lang.Throwable
  41. Methods declared in class java.lang.Object
  42. Methods declared in interface java.lang.Iterable
  43. Constructor Details
  44. DataTruncation
  45. DataTruncation
  46. Method Details
  47. getIndex
  48. getParameter
  49. getRead
  50. getDataSize
  51. getTransferSize
  52. Class DataTruncation
  53. Constructor Summary
  54. Method Summary
  55. Methods declared in class java.sql.SQLWarning
  56. Methods declared in class java.sql.SQLException
  57. Methods declared in class java.lang.Throwable
  58. Methods declared in class java.lang.Object
  59. Methods declared in interface java.lang.Iterable
  60. Constructor Details
  61. DataTruncation
  62. DataTruncation
  63. Method Details
  64. getIndex
  65. getParameter
  66. getRead
  67. getDataSize
  68. 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.

Читайте также:  Javascript document write positioning

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.

Читайте также:  Ошибка выполнения javascript здесь должно быть содержание

Источник

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.

Читайте также:  Классы java в excel

Источник

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

Источник

Оцените статью