createBlob()

Syntax:

Blob createBlob() throws SQLException

Constructs an object that implements the Blob interface. The object returned initially contains no data. The setBinaryStream and setBytes methods of the Blob interface may be used to add data to the Blob.

Returns:

Type: Blob 

An object that implements the Blob interface

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Connection.createBlob()