Community
Participate
Working Groups
Build Identifier: 3.0 CDO should provide an option to lock outgoing reference targets during commit. This would prevent a case of stale references. E.g.: Object A references object B. When changing and committing the object A also object B should be locked so that no one can remove object B. Reproducible: Always
Doesn't this duplicate bug 315407 ?
The new reference target locking can be switched on with a new *boolean* repository property: IStoreAccessor.CommitContext.PROP_AUTO_LOCK_NEW_TARGETS = "autoLockNewTargets" It is off by default!
Committed to HEAD
Created attachment 171792 [details] Patch for future reference
Update: The property has been moved to IRepository.Props.AUTO_LOCK_NEW_TARGETS
Available in 3.0 GA: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/