Hello, When we retrieve an object A in our project, we saw in logs that a request is done to database for the object A but also for all objects linked the object A. For some objects, we have more than 50 associations, so for each retrieve with have more than 50 requests in DB. Because these requests are called sequentially and we have a delay of some milliseconds between each call in our new environment, a retrieve takes lot of time to proceed. So, is it possible to - don't load associated objects when we do a retrieve ?- or execute all request in parallel ? Thank you for your help.
asked
Benoit Lebrun
1 answers
0
The 50 association retrieves are probably only the retrieve in join tables. Resulting in the referenced object id, which is part of the full object when the object is the owning object of the association. Ownership is defined by the dot side of the association.
Excluding these in a XPath retrieve isn't possible.