doctrine/doctrine2 — pull request #950 by goetas (2014-02-11 13:59:40+00:00)
Title: Can cache empty collections

I should be able to cache an "empty" collection.

I have a some objects, where 90% of these have on-to-many relations with zero associated elements.
This causes doctrine to run a query each time, instead of cache it as empty relation.