Closed
Description
Oliver Drotbohm opened DATAMONGO-1194 and commented
Currently DBRef
instances are resolved one by one, even for collection properties. This currently causes the DBRef
resolution being done on a per-element basis which causes additional (un)necessary database lookups.
Maybe we can improve the collection handling a bit more so that the database lookup is only done once per property and the DBRef
resolution can be batched
Affects: 1.7 GA (Fowler)
Issue Links:
-
DATAMONGO-1044 No AfterLoadEvent when loading DBRef
-
DATAMONGO-1193 Prevent unnecessary database lookups when resolving DBRefs on 2.x driver
Referenced from: pull request #377