Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] CDORemoveFeatureDelta does not return removed object
[CDO] CDORemoveFeatureDelta does not return removed object [message #990236] Tue, 11 December 2012 09:23 Go to next message
Erdal Karaca is currently offline Erdal Karaca
Messages: 725
Registered: July 2009
Senior Member
The object history does not return the removed object in a CDORemoveFeatureDelta, instead, I will get CDOFeatureDelta.UNKNOWN_VALUE.
Is that expected behavior?
Re: [CDO] CDORemoveFeatureDelta does not return removed object [message #990295 is a reply to message #990236] Tue, 11 December 2012 13:07 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5480
Registered: July 2009
Senior Member
Am 11.12.2012 15:23, schrieb Erdal Karaca:
> The object history does not return the removed object in a CDORemoveFeatureDelta, instead, I will get
> CDOFeatureDelta.UNKNOWN_VALUE.
> Is that expected behavior?
Yes, CDORemoveFeatureDelta.getIndex() tells you which element has been removed.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Previous Topic:[xcore] generated package not compiling
Next Topic:[CDO] CDO Query which is not DB specific
Goto Forum:
  


Current Time: Tue Jul 22 21:49:19 EDT 2014

Powered by FUDForum. Page generated in 0.01551 seconds