Bug 318919 - Make prefetching work for children of already loaded objects
Summary: Make prefetching work for children of already loaded objects
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard: Lighter, Faster and Better
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2010-07-05 12:45 EDT by Bastien CLA
Modified: 2011-06-23 03:40 EDT (History)
2 users (show)

See Also:


Attachments
Patch v1 - for future reference (18.99 KB, patch)
2010-08-30 14:13 EDT, Eike Stepper CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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