code: private void checkForConflict(JPAObject newObject) throws EDBException {
          String oid = newObject.getOID();
          JPAObject object = dao.getJPAObject(oid);
          for (JPAEntry entry : newObject.getEntries()) {
              if (entry.getKey().equals(EDBConstants.MODEL_VERSION)) {
                  continue;
              }
              JPAEntry rival = object.getEntry(entry.getKey());
              String value = rival != null ? rival.getValue() : null;
              if (value == null || !value.equals(entry.getValue())) {
                  LOGGER.debug("Conflict detected at key {} when comparing {} with {}", new Object[]{ entry.getKey(),
                      entry.getValue(), value == null ? "null" : value });
                  throw new EDBException("Conflict detected. Failure when comparing the values of the key "
                          + entry.getKey());
              }
          }
      }
docs: Simple check mechanism if there is a conflict between a model which should be saved and the existing model, based
  on the values which are in the EDB.