I'm planning to move from SAP SQLAnywhere + NHibernate + Envers to RavenDB4.
I'm doing some migration and performance tests. At this time, I'm looking for an way to migrate Envers Audit to Raven revision.
What I'm trying:
- Read source audit record.
- Insert it on RavenDB.
- Patch it, for every record on audit.
Everything is working fine, but I need to change raven revision timestamp from migration point to saved Envers timestamp. Any clue to do that or perhaps a better way to do this migration?
I want to avoid create another collection to legacy data or adding original timestamp as metadata.
thank you
There is no way to modify the revision data. This is done as part of the frozen nature of revisions.