1 of 1 people found this helpful
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.
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.
Added to the trunk docs