DDC-2061: Matching Criteria on a PersistentCollection only works on OneToMany associations #2742

doctrinebot opened this Issue Oct 8, 2012 · 2 comments

2 participants


Jira issue originally created by user terjeb:

What is needed to make it also work for ManyToMany associations?

May be a better fallback would be do an ArrayCollection->matching() instead of just giving a runtime exception?

Is this something that is difficult to implement?


Comment created by @guilhermeblanco:

This is already possible on 2.5 branch (dev-master for now).
Tracked commit history and found this commit hash as the one that allowed this:



Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.5 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment