What is the best practice of logging events with persisted entities to database? I have a Spring application with Hibernate and would like to log the changes of the persiste