ErrorLog.error(HibernateHelper.class, E.HH_GETPERSISTENT + eH.getMessage());
  private static Object _getPersistent(Session hs, Object o) {    boolean persistent  = false;    if (hs.contains(o)) {      persistent = true;    }    else {      try {        hs.update(o);        if (hs.contains(o)) {          persistent = true;               }      }      catch (HibernateException eH) {        // ignore      }    }    if (persistent == false) {      try {        throw new RuntimeException();      }      catch (RuntimeException eR) {        String msg = ERR_GP + o + ":" + eR.getMessage();        ErrorLog.fatal(HibernateHelper.class, msg);        eR.printStackTrace();        throw new RuntimeException(msg, eR);      }    }    return o;  } // private static Object _getPersistent(hs, o)