Community
Participate
Working Groups
Add the methods exportChanges() and importChanges() to CDOTransaction
Created attachment 154923 [details] A contribution for the import/export of transaction changes A patch to add the import/export of changes made on a CDO Transaction. I confirm that I'm the only author and I apply the EPL.
Created attachment 154930 [details] import/export of transaction changes Fixes a couple of issues in my previous patch
Committed to HEAD
Example: OutputStream fos = new FileOutputStream("changes.bin"); try { CDOSavepoint[] savepoints = transaction1.exportChanges(fos); } finally { IOUtil.close(fos); } InputStream fis = new FileInputStream("changes.bin"); try { CDOSavepoint[] savepoints = transaction2.importChanges(fis, true); } finally { IOUtil.close(fis); }
Available in 3.0 GA: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/