0 Replies Latest reply on May 29, 2014 6:06 AM by Gaurav Parmar

    @NotAudited not functioning as expected

    Gaurav Parmar Newbie



      We integrated Hibernate Envers with our product.

      There is an entity "schedule" which has several fields, including "last execution time" and "next execution time" fields which are updated frequently.


      We wanted to audit the entity except the "last execution time" and "next execution time"

      So we marked both those fields as @NotAudited.  We have not added both these fields to our _AUD table also.

      But still we find that everytime there is a change in "last execution time" and "next execution time" , there is a new row created in _AUD table.


      We have custom envers listener which updates the user in REVINFO table as system when no one is logged in.

      The envers and hibernate version i use are 4.2.0.Final


      Please let me know if there is any other information that is needed.