0

I need to log not only modifications, but every access to Entity. I've looked into EntityListeners and Envers but couldn't find anything usefull.

  • 1
    You need to implement it yourself. – Alan Hay Dec 17 '20 at 14:21
  • 1
    You can use AOP (Aspect Oriented Programming) to do this. Basically: an annotation which will add your logging code everywhere in the entities. This is quite quite simple to do with Spring. – Guillaume F. Dec 17 '20 at 18:03

0 Answers0