1 Reply Latest reply on Aug 28, 2008 6:36 AM by Adam Warski

    Pre-existing non versioned data

    Andrew Wheeler Newbie

      I have a JBoss Seam application that I deploy with hibernate, envers and an import.sql for populating table data. I need a way of pre-populating the version tables with the data that was imported. The version tables need to have the add entries created from the pre-existing data.

      Perhaps the original data should be copied to the version tables after all the version tables have been created as a single version transaction.

      I think this will be a common case for applications deploying with an import.sql file.

        • 1. Re: Pre-existing non versioned data
          Adam Warski Master

          So the scenario is as follows: you have a database, with some data. Now you start using Envers, generate the versioned schema (additional tables). Finally, you want to create "ADD" revisions for the existing data. Is that right? This should be doable with a simple tool. Please create a JIRA, if I understand you right :).