docs: public void set(Object data, int iOpenMode) throws DBException, RemoteException
      {
          if (m_objCurrentKey == null)
              throw new DBException(Constants.INVALID_RECORD);
          Object key = this.getKey(data);
          if (!key.equals(m_objCurrentKey))
              m_mDataMap.remove(key);
          m_mDataMap.put(key, data);      // Replace the data at this position
          m_objCurrentKey = null;
      }