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

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.

Environment

None

Status

Assignee

AdamA

Reporter

Tomasz Bech

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

3.3.2

Priority

Major