disconnect(db);
    public void isc_detach_database(isc_db_handle db_handle) throws GDSException {        isc_db_handle_impl db = (isc_db_handle_impl) db_handle;        if (db == null) {            throw new GDSException(ISCConstants.isc_bad_db_handle);        }        synchronized (db) {            if (db_handle.hasTransactions())             {                throw new GDSException(ISCConstants.isc_open_trans, db.getOpenTransactionCount());            } // end of if ()                    try {                if (log != null) log.debug("op_detach ");                db.out.writeInt(op_detach);                db.out.writeInt(db.getRdb_id());                db.out.flush();                            if (log != null) log.debug("sent");                receiveResponse(db,-1);                                // lars 2002-10-30: Explicitely close socket to server                disconnect(db);                            } catch (IOException ex) {                throw new GDSException(ISCConstants.isc_network_error);            }             //db.rdb_transactions = new Vector();        }    }