[CDO] Prefetch policy [message #1841979] |
Sat, 05 June 2021 11:36  |
Eclipse User |
|
|
|
Hi,
I've just started working with CDO and I cloned code from the Git repository.
I have a question about prefetching and caching. I see that we can load objects on-demand using RevisionPrefetchingPolicy, CollectionLoadingPolicy and CDOFetchAnalyzer. But is it possible that we can load just the features of the object we need instead of the whole object?
For example:
Customer {
attr : name,
attr : address
}
for (Customer c : getCustomers()){
c.name.println();
}
Here, I just care about the name attribute of the Customer and there is no need to load the address as well.
Could you please let me know that CDO supports this? if yes, how (using which classes), I can implement this?
Thanks,
Sorour
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02894 seconds