PrepAway - Latest Free Exam Questions & Answers

which of the following methods for information about the truncated data (Choose all that apply.?

In JDBC, the DataTruncation class includes which of the following methods for
information about the truncated data (Choose all that apply.?

PrepAway - Latest Free Exam Questions & Answers

A.
getDataSize(.

B.
getIndex(.

C.
getParameter(.

D.
getRead(.

E.
getTransferSize(.

Explanation:
Quoted directly from Sun’s Java document site at
http//developer.java.sun.com/ Data truncation basically means that less

information was read or written than requested. Some databases/drivers will accept
data that is larger than a column can contain, truncate the data, write the truncated
data, and then happily report, via a DataTruncation SQLException “You gave me
too much data, but I handled it.” The DataTruncation class includes the following
methods for information about the truncated data getDataSize(., getIndex(.,
getParameter(., getRead(., and getTransferSize(..


Leave a Reply