Oh yeah, your right. Probably better to not push the boat out in that
case.

On Wed, Apr 24, 2013 at 06:34:55AM -0700, David Buchmann wrote:
>    In en/reference/working-with-objects.rst:
> 
>  > +
>  > +.. warning::
>  > +
>  > +    Note that due to the nature of PHPCR, the primary id is no field.
>  > +    You can thus not use ``findBy(array('id' => '/my/path'))`` but should
>  > +    pass the id into the ``find`` method. There is also findMany if you
>  > +    need to fetch several documents.
>  > +
>  > +You can also load by owning side associations through the repository::
>  > +
>  > +    <?php
>  > +    $number = $dm->find('MyProject\Domain\Phonenumber', '/path/to/phone/number');
>  > +    $user = $dm->getRepository('MyProject\Domain\User')->findOneBy(array('phone' => $number->getUuid()));
>  > +
>  > +Be careful that this only works by passing the uuid of the associated
>  > +document, not yet by passing the associated document itself.
> 
>    orm seems not to support it either. if somebody wants to implement it, i
>    have no objection.
> 
>    —
>    Reply to this email directly or [1]view it on GitHub.
> 
> References
> 
>    Visible links
>    1. https://github.com/doctrine/phpcr-odm-documentation/pull/24/files#r3936567