I want to make
$this->getEntityManager()
->createQuery(' SELECT P.*
FROM MyNameSpaceProfileBundle:Tutor T
JOIN MyNameSpaceProfileBundle:Person Pe
JOIN MyNameSpaceMediaBundle:KidContent KC
JOIN MyNameSpaceMediaBundle:Post P
WHERE T.id = :id'
)->setParameter('id', $pId);
but I have this kind of error:
[Semantical Error] line 0, col 128 near 'Pe ': Error: Identification Variable MyNameSpaceProfileBundle:Person used in join path expression but was not defined before. 500 Internal Server Error - QueryException
I have followed the tutorial from symfony2 website.
ANY help please? See ya
I have no idea