# Only one entity may be annotated with @RevisionEntity

**URL:** <https://discourse.hibernate.org/t/only-one-entity-may-be-annotated-with-revisionentity/3576>\
**Category:** Hibernate ORM\
**Created:** [December 30, 2019, 5:52am UTC](https://discourse.hibernate.org/t/only-one-entity-may-be-annotated-with-revisionentity/3576 "2019-12-30T05:52:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lindsay](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@lindsay](https://discourse.hibernate.org/u/lindsay)\
**Post date:** [December 30, 2019, 5:52am UTC](https://discourse.hibernate.org/t/only-one-entity-may-be-annotated-with-revisionentity/3576/1 "2019-12-30T05:52:29Z")

</div>

I’m building a library. In this library, I am using envers to do audit log for all changes.  
If a consumer/client is also using envers, then I will met the problem ‘only one entity may be annotated with @RevisionEntity’.  
I searched and found this  
[https://forum.hibernate.org/viewtopic.php?f=1&t=1045006](https://forum.hibernate.org/viewtopic.php?f=1&t=1045006)  
Is this still a recommended way to solve the problem? We’re using JPA.

BR, Lindsay
