System.out.print((bpb == null)? "op_open/create_blob ": "op_open/create_blob2 "); System.out.println("op: " + op);
if (debug) {System.out.print((bpb == null)? "op_open/create_blob ": "op_open/create_blob2 ");} if (debug) {System.out.println("op: " + op);}
    private final void openOrCreateBlob(isc_db_handle db_handle,                         isc_tr_handle tr_handle,                         isc_blob_handle blob_handle, //contains blob_id                        Clumplet bpb,                        int op) throws GDSException {        isc_db_handle_impl db = (isc_db_handle_impl) db_handle;        isc_tr_handle_impl tr = (isc_tr_handle_impl) tr_handle;        isc_blob_handle_impl blob = (isc_blob_handle_impl) blob_handle;                if (db == null) {            throw new GDSException(isc_bad_db_handle);        }        if (tr == null) {            throw new GDSException(isc_bad_trans_handle);        }        if (blob == null) {            throw new GDSException(isc_bad_segstr_handle);        }        int buffer_length = MAX_BUFFER_SIZE;        synchronized (db) {            try {                            System.out.print((bpb == null)? "op_open/create_blob ": "op_open/create_blob2 ");                System.out.println("op: " + op);                db.out.writeInt(op);                if (bpb != null) {                    db.out.writeTyped(isc_bpb_version1, (Xdrable)bpb);                }                db.out.writeInt(tr.rtr_id); //??really a short?                System.out.println("sending blob_id: " + blob.blob_id);                db.out.writeLong(blob.blob_id);                            System.out.println("sent");                Response r = receiveResponse(db);                blob.db = db;                blob.tr = tr;                blob.rbl_id = r.resp_object;                blob.blob_id = r.resp_blob_id;                tr.addBlob(blob);            }            catch (IOException ioe) {                throw new GDSException(isc_net_read_err);            }        }    }