Envers global revisions

Hello, there is a well know concern regarding the global revisions of envers:

“While global revisions are a good way to provide correct auditing of relations, some people have pointed out that this may be a bottleneck in systems, where data is very often modified. One viable solution is to introduce an option to have an entity “locally revisioned”, that is revisions would be created for it independently. This wouldn’t enable correct versioning of relations, but wouldn’t also require the “REVINFO” table. Another possibility if to have “revisioning groups”, that is groups of entities which share revision numbering. Each such group would have to consist of one or more strongly connected component of the graph induced by relations between entities. Your opinions on the subject are very welcome on the forum!”

this hasn’t been addressed in years… do anyone know if this will be addressed or there is any alternative to fix this issue already?

Hibernate Envers is an open source component to which anyone can contribute to.
The core Hibernate team does not currently plan to work on features in Hibernate Envers, though this might change at any time. If you care a lot about this feature, it’s best if you invest your own time or pay someone to do it for you.

1 Like