I think I can answer my own question. I just discovered that I can do this 
to disable lazy load on per Document level:

ODocument.setLazyLoad(false);

Seems to be working fine now. If there is anything else I shall be aware of 
please let me know.


On Tuesday, December 20, 2016 at 5:36:30 PM UTC-8, Borov wrote:
>
> Hi,
>
> How do I turn off the lazy loading? I need to recursively traverse the 
> ODocument tree and when it stumble on linked RIDs, it lazy loads the linked 
> objects. Is there an easy way to turn off the lazy loading for a specific 
> query?
>
> I'm using SQL query (ODatabaseDocumentTx). I tried to add "fetchplan *:0" 
> to my query with no avail. 
> Using Orient 2.2.13
>
> Thanks,
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to