I am starting a Java project with Hibernate and found interesting the way the Envers work, but I wonder if you can only have a table to store all changes to the system? I do not know if I'm asking something impossible.
What I need are columns: user, action (insert / update ...), table name and field changed.
I do not know if this can be done with Envers or if there is another way.
Any answer is welcome! Thank you
What you described isn't possible with Envers; however, you can write your own Hibernate Listener implementations to accomplish such a task easily and integrate that directly.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.