Are you actually using EXTRA_LAZY for this collection?
On 25 Jun 2014 10:11, <[email protected]> wrote:

> Hi everyone,
>
> I'd like to remove an element from a big persistant collection (~10K
> users). When I call my remove() method, Doctrine first initialize the
> collection and my application crashes (can't load 10K user objects).
>
> Is there any trick with the UnitOfWork or something else to remove an
> element from a collection without initializing the whole collection ?
>
> I just dont want to inverse the side of my ManyMany relation (and delete
> from the other side), and I'd like to avoid working on the join table.
>
> Thanks ++
>
> --
> 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.
>

-- 
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