Why Hibernate Envers is ignoring my custom RevisionEntity?
问题 I'm developing an application using JPA 2.1 (supported by hibernate 4.2.11) with spring 4.0.2. We are using Envers for auditing changes in project entities. That is working fine. The problem comes when we try to use custom Revision Entity as Envers documentation says: http://docs.jboss.org/hibernate/core/4.1/devguide/en-US/html/ch15.html#envers-revisionlog We have made a custom class and a custom listener as pointed in the documentation but it seems that they are totally ignored by Hibernate.