[PHPCR-106] Make getRefererrs return not-yet-flushed referring documents Created: 22/Mar/13 Updated: 18/Apr/13 Resolved: 18/Apr/13
|Reporter:||Daniel Leech||Assignee:||Lukas Kahwe|
Currently the DocumentManager->getReferrers() method returns only referrers that have already been flushed to the database.
It is (I think) desireable for this method to return also those objects which have been added to the UnitOfWork but have not yet been flushed to the database.
|Comment by David Buchmann [ 18/Apr/13 ]|
this is the same for searching as well, you don't find non-flushed things. i suggest we just document that on the getReferrers method that you only get flushed data.
note that currently there is the issue that initialized collections are not refreshed, which is something we hope to fix eventually.