Yesterday I uploaded a new release of Envers, 1.2.1.GA. It is mainly a bugfix release, but there is also one new feature. You can now access the current revision entity directly using AuditReader
, without the need to use a revisions listener. For details, see the description of the AuditReader.getCurrentRevision()
method in the javadocs.
You can see the list of issues closed in jira.
The release is available for download here; it’s also in jboss’s maven2 repository.
Have fun! :)
Adam