preferenceRepository.update(Preference.REPLY_NOTIFICATION_TEMPLATE,
replyNotificationTemplate);
transaction.commit();
} catch (final Exception e) {
if (transaction.isActive()) {
transaction.rollback();
}
LOGGER.log(Level.SEVERE, "Updates reply notification failed", e);
throw new ServiceException(e);
}