This content has been marked as final.
Show 3 replies
-
1. Re: Save something else together the data in the revinfo
adamw May 4, 2010 7:41 AM (in response to rafaelviana)1 of 1 people found this helpfulHello,
you are using Envers, right?
The best place to keep information on the user who did the changes is in a revision entity. Did you read the manual section about it? Then you also get storing of this info on entity deletes.
Adam
-
2. Re: Save something else together the data in the revinfo
rafaelviana May 4, 2010 12:15 PM (in response to adamw)Sorry... I did not look for the whole documentation... I thought this was an exception and could not be found in the documentation.
Now I get it. Envers is so easy. Congratulations. ( The easier framework I worked ).
I want to make just an observation that could be put in the documentation. The custom revision entity needs to be mapped in the hibernate configuration. I struggled a bit in it.
Found the answer here.
-
3. Re: Save something else together the data in the revinfo
adamw May 12, 2010 2:26 AM (in response to rafaelviana)Added to the trunk docs
Adam