LOGGER.debug("add %s to user table", displayName);
session.save(newUser);
transaction.commit();
} catch (HibernateException e) {
if (transaction != null) {
transaction.rollback();
}
throw new LumifyException("HibernateException while adding user", e);
}
userListenerUtil.fireNewUserAddedEvent(newUser);