Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333663 - Provide a ReferentialIntegrityException with full XRef infos
Summary: Provide a ReferentialIntegrityException with full XRef infos
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard: Power to the People
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2011-01-06 10:59 EST by Eike Stepper CLA
Modified: 2011-06-23 03:42 EDT (History)
0 users

See Also:


Attachments
Patch v1 - for future reference (67.49 KB, patch)
2011-01-06 11:08 EST, Eike Stepper CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2011-01-06 10:59:51 EST
With the new ensureReferentialIntegrity option a repository, during commit, checks incoming cross references of detached objects. Currently only the IDs of referencing objects are transferred to tehe committing client in form of a single String message. To enable clients to better deal with this situation a ReferentialIntegrityException with full XRef infos is needed.
Comment 1 Eike Stepper CLA 2011-01-06 11:08:03 EST
Created attachment 186182 [details]
Patch v1 - for future reference
Comment 2 Eike Stepper CLA 2011-01-06 11:10:07 EST
Committed to HEAD.

Now we have:

public class ReferentialIntegrityException extends CommitException
{
  public List<CDOObjectReference> getXRefs();
}
Comment 3 Eike Stepper CLA 2011-06-23 03:42:07 EDT
Available in R20110608-1407