6 Replies Latest reply on Nov 28, 2009 3:09 AM by Adam Warski

    An audited relation to a non-audited entity

    Andriy Gryn Newbie


      I have the following situation: I want to track changes in some fields of particular table. Some of these fields reference other entities which will not be audited (relation ManyToOne). For these fields I just need to record that instead of one primary key value in the related table audited record now references another primary key value. Assuming that primary key of the record normally doesn't change why envers requires that referenced entity is also marked as audited? Is it possible to avoid it?

      Thank you.