if (!(blob instanceof FBBlob)) { throw new FBSQLException( "You must use FBBlobs with Firebird.", FBSQLException.SQL_STATE_INVALID_PARAM_TYPE); }
if (!(blob instanceof FBBlob)) { FBBlob fbb = new FBBlob(gdsHelper, blobListener); fbb.copyStream(blob.getBinaryStream()); blob = fbb; }
    public void setBlob(int parameterIndex, Blob blob) throws SQLException {        if (!(blob instanceof FBBlob)) { throw new FBSQLException(                "You must use FBBlobs with Firebird.",                FBSQLException.SQL_STATE_INVALID_PARAM_TYPE); }        getField(parameterIndex).setBlob((FBBlob) blob);        isParamSet[parameterIndex - 1] = true;    }