public static ExceptionLog updateUserDescription(ExceptionLog log, String userDesc) {
PersistentAccess pa;
try {
pa = PersistentAccessFactory.getInstance();
log = (ExceptionLog) pa.find(ExceptionLog.class, log.getId());
log.setUserDescription(userDesc);
log = (ExceptionLog) pa.persist(log);
} catch (NamingException e) {
e.printStackTrace();
}