views:

126

answers:

1

I am trying to use Envers for implementing Audit trails. Its creating the audit table Person_AUD and entering the audit data as well. But, when i am trying to add custom fields that is updated by to it, nothing happens.

A: 

I'm assuming you've tried what the manual said to do?

http://docs.jboss.org/envers/docs/index.html#revisionlog

I annotated my RevisionEntity with @RevisionEntity(MyRevisionListener.class), but the newRevision(Object revisionEntity) method in that class is never called, so I'm just as lost as you.