4 Replies Latest reply on Oct 4, 2011 4:03 AM by Nicklas Karlsson

    Omitting an entity from auditing

    Nicklas Karlsson Master



      I had an entity Foo which was not audited but it was in a relation to an audited entity so I put a


      @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED)


      on it. Now when I save the Foo entity itself, I see Envers trying to insert into Foo_AUD which kind of defeats the purpose. Any way around this?


      (JBoss AS 7, post 7.0.2)