Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333663

Summary: Provide a ReferentialIntegrityException with full XRef infos
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3 Keywords: noteworthy
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: Power to the People
Attachments:
Description Flags
Patch v1 - for future reference none

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