This content has been marked as final.
Show 1 reply
-
1. Understanding MappedSuperClass with Envers
adamw Mar 8, 2011 3:49 AM (in response to tsnyman)This is a known problem - if you have a @MappedSuperclass but you want to audit it only sometimes, see: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5917
Comments on how to solve this nicely are welcome .
Also, @Audited(targetAuditMode=RelationTargetAuditMode.NOT_AUDITED) only has effect when annotating relations - if the source entity is audited, but the target one not.
Adam