envers « Version « JPA Q&A





1. Get previous version of entity in Hibernate Envers    stackoverflow.com

I have an entity loaded by Hibernate (via EntityManager):

User u = em.load(User.class, id)
This class is audited by Hibernate Envers. How can I load the previous version of a User entity?

2. Hibernate Envers Revert data to a version    stackoverflow.com

We are using Hibernate envers to store historical revisions of the data, there is a requirement to revert data to a certain revision. As we are using the Version column to ...