Пытаюсь перенести нативные запросы в сущности, чтобы не мешались в репозиториях. но получаю ошибку: Could not find a named native query by the name “findAllCategories” Вот моя сущность: <?php namespace AppBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping as ORM; /** * @ORM\NamedNativeQueries({ * @ORM\NamedNativeQuery( * name = “findAllCategories”, * resultSetMapping = “mappingChildrenWithCount”, * query = “SELECT id,Read more