Community
Participate
Working Groups
Build Identifier: Bug 330235 introduced backup/restore functionality for MEMStore and DBStore. It would be nice to have the same functionality for Hibernate Store. According to Eike "The new export/import mechanism requires at least the implementation of these optional IStore APIs: org.eclipse.emf.cdo.server.IStoreAccessor.handleRevisions(EClass, CDOBranch, long, boolean, CDORevisionHandler) org.eclipse.emf.cdo.server.IStoreAccessor.Raw.rawStore(InternalCDOPackageUnit[], OMMonitor) org.eclipse.emf.cdo.server.IStoreAccessor.Raw.rawStore(InternalCDORevision, OMMonitor) org.eclipse.emf.cdo.server.IStoreAccessor.Raw.rawCommit(double, OMMonitor) Eventually plus these: org.eclipse.emf.cdo.server.IStoreAccessor.Raw.rawStore(byte[], long, InputStream) org.eclipse.emf.cdo.server.IStoreAccessor.Raw.rawStore(byte[], long, Reader) org.eclipse.emf.cdo.server.IStoreAccessor.Raw.rawStore(CDOBranch, long, long, String, String, OMMonitor) org.eclipse.emf.cdo.server.IStoreAccessor.Raw.rawDelete(CDOID, int, CDOBranch, EClass, OMMonitor)" Reproducible: Always
Moving all open enhancement requests to 4.1
commit 47d969e972089caf5e58fef905a63180db2ce51d I think I've fixed the CDORevision-->CDOID bug in WrappedHibernateList. Then I've implemented the IStoreAccessor.Raw interface for the server import mechanism. Trying to find out now, what methods to implement from it...
commit 6ffdacfc9822b349a3cdbaee1753e68d22eca196 Okay, I've marked the following methods with // TODO: org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.rawStore(InternalCDOPackageUnit[], OMMonitor) org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.rawStore(InternalCDORevision, OMMonitor) org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.rawCommit(double, OMMonitor)
I implemented the methods proposed by Eike, the backup tests works except for these 2: featuremap externalreference I will leave these two open for now. The featuremap fails because featuremap support in CDO Hibernate does not seem complete, the externalreference is probably a setup question. gr. Martin
http://git.eclipse.org/c/cdo/cdo.git/commit/?id=a22a3877ed029517e2dbc8b0516867c93d752eab
Closing.
Featuremap and export of external references now also passed in the testcase. This is available in the 4.2 stream.