Is it possible to use Envers (with ValidityAuditStrategy) with existing data?
I'm getting "Cannot find previous revision for entity" errors when I try to do so with Hibernate 3.6.5.
Thanks.
The best way is to initialize the audit tables with exisiting data. That is, for all exisiting data, create a revision "1" with modification type "add" using some sql scripts - unfortunately these are not bundled with Envers, but they should be easy to write.
Adam