Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO 0.8.0] Performance
[CDO 0.8.0] Performance [message #618159] Fri, 23 May 2008 11:18
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Hi Eike,

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.
Previous Topic:[CDO 0.8.0] eDirectResource return always NULL
Next Topic:[Teneo] Is hibernate.hbm.xml enough
Goto Forum:
  


Current Time: Mon Mar 30 22:55:46 GMT 2020

Powered by FUDForum. Page generated in 0.01911 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top