-
public class SerialBlob
- extends java.lang.Object
- implements Blob, java.io.Serializable, java.lang.Cloneable
A serialized mapping in the Java programming language of an SQL BLOB value.
The SerialBlob class provides a constructor for creating an instance from a Blob object. Note that the Blob object should have brought the SQL BLOB value's data over to the client before a SerialBlob object is constructed from it. The data of an SQL BLOB value can be materialized on the client as an array of bytes (using the method Blob.getBytes ) or as a stream of uninterpreted bytes (using the method Blob.getBinaryStream ).
SerialBlob methods make it possible to make a copy of a SerialBlob object as an array of bytes or as a stream. They also make it possible to locate a given pattern of bytes or a Blob object within a SerialBlob object and to update or truncate a Blob object.
-
See Also:
-
Serialized Form
|