CDOView view = object.cdoView();
if (view instanceof CDOTransaction) {
CDOTransaction transaction = (CDOTransaction) view;
return transaction;
} else if (view != null) {
<BUG>return view.getSession().openTransaction();
</BUG>
}
throw new TransactionException("could not obtain a transaction");
<BUG>}
}

</BUG>

CDOView view = object.cdoView();
if (view instanceof CDOTransaction) {
CDOTransaction transaction = (CDOTransaction) view;
return transaction;
} else if (view != null) {
return configureView(view.getSession().openTransaction());
}
throw new TransactionException("could not obtain a transaction");
