length()

Syntax:

long length() throws SQLException

Description:

Returns the number of bytes in the BLOB value designated by this Blob object.

Returns:

length of the BLOB in bytes

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Blob.length()