[odb-users] Lazy Relationships?
Boris Kolpackov
boris at codesynthesis.com
Mon Sep 21 11:16:35 EDT 2015
Hi Christian,
Christian Sell <christian at gsvitec.com> writes:
> just now I realize that when I load an object that has relationships, all
> relatioships are loaded as well (and that using plain select statements
> without <outer> join.. duh).
See object loading views (Section 10.2) for the "duh" part.
> This can obviously be a real performance issue.
No kidding. How come we never thought about it..? Oh, wait a second,
there is this Section 6.4, "Lazy Pointers" in Chapter 6, "Relatioships".
Sounds almost exactly like the subject of this email...
> We do, however, already have our own collection classes which I intend to
> make known to ODB using the collection_traits mechanism.
It's called container_traits, not collection_traits.
Boris
More information about the odb-users
mailing list