[odb-users] Lazy pointers question

Boris Kolpackov boris at codesynthesis.com
Wed Jun 4 04:53:58 EDT 2014


Hi Lidia,

Lidia Kalinovsky <lidia at lemur-soft.com> writes:

> Is there some another "magic" way to do this ?

Yes, it is called object sections (Chapter 9 in the ODB manual). You
can have two-level "laziness" here: firstly you can load the vector
(i.e., the ids of pointed-to objects) on demand, only when needed,
using object sections. Then you can lazily load individual pointed-to
objects using the lazy pointer mechanism.

Boris



More information about the odb-users mailing list