みなさん、こんにちは。私はDoctrineの結合クエリで立ち往生しています。
システムは、オークションがマップされていないことを通知し続けます。
Class Auction does not exist and could not be loaded in Doctrine/doctrine-orm/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php on line 40
プロジェクトはすでに進行中であり、明らかに、他の参加も成功裏に使用されました。
include_once '../../../bootstrap_doctrine.php';
$rsm = new \Doctrine\ORM\Query\ResultSetMapping;
$rsm->addEntityResult('Auction', 'Au');
$rsm->addEntityResult('VariantPerAuction', 'Vpa');
$Q=" SELECT Au.id
FROM Auction Au
JOIN VariantPerAuction Vpa ";
$query = $entityManager->createNativeQuery($Q,$rsm);
$auctions = $query->getResult();