Entity Log is a mechanism for tracking changes in your JPA entities. It records changes in entity attributes and provides a user interface for searching and displaying information about the changes:
What entity instance was changed.
Old and new values of changed attributes.
When the entity was changed.
Which user changed the entity.
Follow the instructions in the Add-ons section to install the add-on into your application.
Entity Log automatically tracks changes of JPA entities when they are saved using DataManager. It doesn’t work if you use
EntityManager or native SQL.
You can also use the
EntityLog bean to register changed entities from your application code. In this case, invoke
registerDelete() methods with
auto parameter set to false. When the entity log is called automatically by the framework, this parameter is set to true.