transaction.commit();
ret.put(Keys.STATUS_CODE, true);
ret.put(Keys.OBJECT_ID, commentId);
} catch (final Exception e) {
if (transaction.isActive()) {
transaction.rollback();
}
LOGGER.log(Level.SEVERE, e.getMessage(), e);
throw new ActionException(e);
}