One to many relation ship in symfony 2.7
<p>I have two entities as below</p>

<p>1) entity one</p>

<pre><code>/**
* @ORM\OneToMany(targetEntity="CallRequestComments", mappedBy="CallRequest")
* @ORM\JoinColumn(name="call_request_id", referencedColumnName="id")
*/
protected $CallRequestComment;


/**
 * Add CallRequestComment
 *
 * @param \Veritas\AdminBundle\Entity\CallRequestComments $callRequestComment
 * @return CallRequest
 */
  public function addCallRequestComment(\Veritas\AdminBundle\Entity\CallRequestComments $callRequestComment)
    {
        $this-&gt;CallRequestComment[] = $callRequestComment;

        return $this;
    }

    /**
     * Remove CallRequestComment
     *
     * @param \Veritas\AdminBundle\Entity\CallRequestComments $callRequestComment
     */
    public function removeCallRequestComment(\Veritas\AdminBundle\Entity\CallRequestComments $callRequestComment)
    {
        $this-&gt;CallRequestComment-&gt;removeElement($callRequestComment);
    }

    /**
     * Get CallRequestComment
     *
     * @return \Doctrine\Common\Collections\Collection 
     */
    public function getCallRequestComment()
    {
        return $this-&gt;CallRequestComment;
    }
</code></pre>

<p>2) entity two</p>

<pre><code> /**
  * @var text
  *
  * @ORM\Column(name="comment", type="text")
  */
  protected $comment;
 /**
 * Set comment
 *
 * @param string $comment
 * @return CallRequestComments
 */
public function setComment($comment)
{
    $this-&gt;comment = $comment;

    return $this;
}

/**
 * Get comment
 *
 * @return string 
 */
public function getComment()
{
    return $this-&gt;comment;
}
</code></pre>

<p>and i want to get entity two's record on base of entity one
as below ,</p>

<pre><code>$resultRow-&gt;getCallRequestComment()-&gt;getComment()
</code></pre>

<p>it's give me erroe like below:</p>

<pre><code>Attempted to call an undefined method named "getComment" of class "Doctrine\ORM\PersistentCollection"
</code></pre>

<p>can any body help me toget this value without using left join.</p>