Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] What is the best way to check if EMF resource has been updated in the datastore?
[Teneo] What is the best way to check if EMF resource has been updated in the datastore? [message #615605] Tue, 04 March 2008 09:42
Vladimir Nikolov is currently offline Vladimir NikolovFriend
Messages: 10
Registered: July 2009
Junior Member
Hello,


I was wondering what is the best way (performance wise) to check if EMF
resource has been updated in the DB i.e. to find out if there are any
differences between the EMF resource in the memory and the data in the DB.

I'm using Teneo with JPOX.

For example: My application loads a resource and outputs all
elements.(like "Load the resource" section here:
http://www.elver.org/jpox/tutorial1/tutorial1_5.html)
Then some other part of the code adds another element in the db.

In order to get the updates I should reload the resource.
But how I can find out if there is difference between the EMF resource
in the memory and the resource representation in the DB without calling
resource.load()?

Thanks,
Vladimir
Previous Topic:Using Ecore instrospection vs Java introspection in Teneo
Next Topic:[Teneo] What is the best way to check if EMF resource has been updated in the datastore?
Goto Forum:
  


Current Time: Wed Jun 23 10:18:02 GMT 2021

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

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

Back to the top