import org.eclipse.emf.cdo.view.CDOView;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.util.EcoreUtil;
<BUG>import org.eclipse.net4j.util.transaction.TransactionException;
public class TransactionUtil {</BUG>
public static <T extends EObject, R extends EObject> R commit(T parent, Modification<T,R> op) throws CommitException {
if (parent instanceof CDOObject) {
CDOObject cdoObject = (CDOObject) parent;

import org.eclipse.emf.cdo.view.CDOView;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.net4j.util.transaction.TransactionException;
import org.jabylon.cdo.connector.internal.RetryingStaleReferencePolicy;
public class TransactionUtil {
public static <T extends EObject, R extends EObject> R commit(T parent, Modification<T,R> op) throws CommitException {
if (parent instanceof CDOObject) {
CDOObject cdoObject = (CDOObject) parent;
