RDMBlob(byte[] bytes)

Syntax:

RDMBlob(byte[] bytes) throws SQLException

Description:

Creates a Blob object that initially contains the supplied bytes which is available to be supplied to the setBlob methods of the Statement, PreparedStatement, or CallableStatement objects.

Throws:

SQLException - if an error occurs handling the bytes provided. Since Blobs are potentially very large the implementation caches the data using a file so not all of it has to reside in memory. The SQLException is thrown if there are I/O errors. dealing with the cache and its file.