$parent = $this->em->find('AppModel\Entity\Parent', 
$this->params()->fromRoute('id'));
$child = $parent->getChild();

$child is just the Proxy object and no real values...

<one-to-one field="child" target-entity="Service" fetch="LAZY">
<join-column name="PARENT_ID" referenced-column-name="PARENT_ID" />
</one-to-one>

If I set it to EAGER, it works perfect.   Also Oracle.. 

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to