if (log.isDebugEnabled()) {log.debug("sent");}
log.debug("sent");
    public void isc_prepare_transaction2(isc_tr_handle tr_handle,                                        byte[] bytes) throws GDSException {        isc_tr_handle_impl tr = (isc_tr_handle_impl) tr_handle;        if (tr == null) {            throw new GDSException(isc_bad_trans_handle);        }        isc_db_handle_impl db = tr.rtr_rdb;        synchronized (db) {            if (tr.getState() != isc_tr_handle.TRANSACTIONSTARTED) {                throw new GDSException(isc_tra_state);            }            tr.setState(isc_tr_handle.TRANSACTIONPREPARING);            try {                if (log.isDebugEnabled()) {log.debug("op_prepare2 ");}                db.out.writeInt(op_prepare2);                db.out.writeInt(tr.rtr_id);                db.out.writeBuffer(bytes, bytes.length);                db.out.flush();                            if (log.isDebugEnabled()) {log.debug("sent");}                receiveResponse(db);            } catch (IOException ex) {                throw new GDSException(isc_net_read_err);            }            tr.setState(isc_tr_handle.TRANSACTIONPREPARED);        }    }