Fetch entity with hydra attributes from database