Uploaded image for project: 'Hibernate ORM'
  1. HHH-4010

support auditing of entity having reference (many-to-one relation) to not audited entity

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 3.3.2
    • Fix versions: 3.5.0.Beta-1
    • Components: hibernate-envers
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      There is an annotated (with @Audited) entity class (lets say - class A), it has ManyToOne reference to another class (lets named this class as B).

      For various reason, class B should stay as not audited - for example because B is a static dictionary class with milion of records, so duplications in the Audited table is not advised or possible.

      Currently this is not supported by evners (target entity must me audited as well for now).

      Related topic on forum: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=157846

      We are going to implement this feature and provide the patch as well.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: