0 Replies Latest reply on Oct 23, 2013 5:44 PM by penkic

    How to configure envers to insert records only into audit tables but not into core tables in certain conditions?

    penkic

      I have a business case - I get records with version ids and I have to maintain only latest version id records in the core tables and older versions in audit tables. With envers I can do that but I may not get the records in the order e.g., First I may be get the version 6 record later I may be get the version 5 record, so in this scenario I don't version 5 record to be inserted into the core table instead only insert into audit table. With envers how can I achieve it through configuration?

       

      Thanks for your responses