This content has been marked as final.
Show 1 reply
-
1. Re: Envers Audit annotation is not working
nick.sree Apr 10, 2013 7:51 AM (in response to nick.sree)Thanks for all who checked this. Finally i'm able to find and fix the issue. I'm posting it over here for those who struggle with similar issue.
I was using the following code to create the hibernate Configuration object.
Configuration configuration = new AnnotationConfiguration();
And found this is the culprit for the issue and the fix is just initialize configuration like below.
AnnotationConfiguration configuration = new AnnotationConfiguration();