| Summary: | Make it easier to create XA transactions | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> |
| Component: | cdo.core | Assignee: | 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 | ||
|
Description
Eike Stepper
Formerly this was needed:
CDOXATransaction xaTransaction = CDOUtil.createXATransaction();
xaTransaction.add(CDOUtil.getViewSet(tx1.getResourceSet()));
xaTransaction.add(CDOUtil.getViewSet(tx2.getResourceSet()));
xaTransaction.add(CDOUtil.getViewSet(tx3.getResourceSet()));
Now:
CDOXATransaction xaTransaction = CDOUtil.createXATransaction(tx1, tx2, tx3);
Committed revision 6896 to trunk Available in R20110608-1407 |