Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[CDO 0.8.0] Performance
https://www.eclipse.org/forums/index.php/mv/msg/194293/618159/#msg_618159
In EMF, everythings is somehow attached from a resource.
However, in our production system, our IStore never update objects
Resources.
Now, that I need to follow the standard, I developped my IStore to update
every objects correctly. However, when we create thousands of objects and
add it to the resource.contents... it starting to get very slow. Also it
needs to go through the list to find out if we already have the items..
etc..etc..
Here my questions:
Can we persist objects without adding it to the resource ?
Could we persist object in a way where objectA.resourceID == resourceA but
resourceA.content will not contains objectA ?
This is in Fact how the result of never updating a Resource.(My previous
IStore)
We could have something like.
CDOTransaction.persist(CDOResource, object);
Do you think it will go against something ?
Thank you.]]>Simon Mc Duff2008-05-23T11:18:53-00:00