Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318919

Summary: Make prefetching work for children of already loaded objects
Product: [Modeling] EMF Reporter: Bastien <b.sabos>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3 CC: b.sabos, stepper
Version: 4.0Keywords: noteworthy
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: Lighter, Faster and Better
Attachments:
Description Flags
Patch v1 - for future reference none

Description Bastien CLA 2010-07-05 12:45:14 EDT
Build Identifier: 20100218-1602

Actually prefetching can only be done on a resource which is not loaded client side. 
It would be nice to have a way to remove or bypass this precondition.

http://www.eclipse.org/forums/index.php?t=msg&th=170700&start=0&

Reproducible: Always
Comment 1 Eike Stepper CLA 2010-08-30 14:13:58 EDT
Created attachment 177759 [details]
Patch v1 - for future reference
Comment 2 Eike Stepper CLA 2010-08-30 14:16:43 EDT
If prefetchDepth != CDORevision.DEPTH_NONE contained revisions will now be prefetched even if the object cdoPrefetch() is called on is in CLEAN state. Works for resources and other objects.

Committed to HEAD
Comment 3 Eike Stepper CLA 2010-08-30 14:22:26 EDT
If you encounter timeouts for very deep containement structures please open another bug.
Comment 4 Eike Stepper CLA 2011-06-23 03:40:40 EDT
Available in R20110608-1407