|
|
|
Re: Optimize retrieval of EObject with high cardinality reference [message #529193 is a reply to message #529146] |
Fri, 23 April 2010 10:47 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Priya,
Comments below.
Priya wrote:
> Let me explain what I am trying to do - There is an EObject obj1 that
> has a EReference ref1 which is a high cardinality reference, this ref1
> is already referencing 1000s of objects, now if the client wants to
> add another target object to this reference then I have to load the
> EObject obj1 as a result of which there will be proxies created for
> all those 1000 objects, and when I return this obj1 to the client
> serialization/deserialization of these proxies is required. So it is
> this performance issue that i am referring to. I want to know if we
> can somehow apply optimization to the retrieval of such EObject with
> high cardinality reference.
I don't see any way to avoid creating proxies for all the referenced
objects. CDO helps do it more lazily, so you might want to explore how
CDO works.
>
> Thanks,
> Priya
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03048 seconds