@Override
    @Transactional
    public Employee getById(Integer id) {
        
        Employee employee = (Employee) sessionFactory.getCurrentSession().createQuery("from Employee e where e.id=:id").
                setInteger("id", id).uniqueResult();
        return employee;
    }