public Journal getById(Integer id) {
        Criteria criteria = sessionFactory.getCurrentSession().createCriteria(Journal.class);
        criteria.add(Restrictions.eq("id", id));

        return (Journal) criteria.uniqueResult();
    }