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 14:23 Go to next message
Erdal Karaca is currently offline Erdal Karaca
Messages: 747
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 18:07 Go to previous message
Eike Stepper is currently offline Eike Stepper
Messages: 5528
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: Wed Oct 01 18:26:18 GMT 2014

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

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