Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of bakura10:
This continue my work on the LazyCriteria and include a support for optimized contains that does not initialize the full collection when checking if a record exists in a collection.
Please note that I had to modify the exists method signature in EntityInterface. I'm not sure this is a problem because, as @ocramius said in the ManyToMany thread, custom persisters is not supported. However, I added a small note to be sure ;).
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1032] was closed:
Issue was closed with resolution "Fixed"