Envers creates audit records for unchanged objects when the entity is SelectBeforeUpdate and has JoinColumn(updatable=false)
Excerpts from the test case:
After the update of unmodified Book object, there are two revisions for the object.
Thanks for the test case.
It may be worth noting you can workaround the issue with:
This is only applicable starting with Hibernate 5.2 with the merging of Hibernate EntityManager into Core.
The fix presented in resolves this particular issue. I'll be pushing the fix as a part of and will include an Enver's test case for this issue.