@Transactional public User getUserById(Integer userId) { return (User) dao.getById(userId, User.class); }