1 Reply Latest reply on Jul 19, 2012 4:35 PM by Adam Warski

    Delete audited data

    Sueleyman Vurucu Expert

      As I can see in the docu  I can do queries for audited data with timestamp or revision number.

       

      And how can I delete audited data ? For example I will delete autidted data older then a date or less then a version number ?

        • 1. Re: Delete audited data
          Adam Warski Master

          Best is to delete the revision entity, this should have the on_delete cascades set. You can delete revision entities just like any other Hibernate entity.

           

          If on_delete cascades don't work with your DB, then you'll have to do a "manual" cascade. Also as before you can delete audit entities just like any other Hibernate entity.

           

          Adam