This content has been marked as final.
Show 1 reply
-
1. Re: NOT_AUDITED issues
gorf Oct 26, 2011 3:51 PM (in response to gorf)Nevermind, I figured it out, duh.
I removed the @Audited annotation on B so that it won't be audited. Then I added @Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED) to the B getter in A. So in the end, my classes look like:
@Audited
public abstract class BaseDomain {
}
@Audited
public class A extends BaseDomain {
private B b;
@Audited(targetAuditMode = RelationTargetAuditMode.NOT_AUDITED)
public B getB() {
return b;
}
public void setB(B b) {
this.b = b;
}
}
public class B extends BaseDomain {
}