3 Replies Latest reply on Dec 14, 2009 10:17 AM by Adam Warski

    How to store only the last revision

    Chris Simons Expert

      In an effort to conserve space in our database, I was wondering if there is an 'easy' way to only store the last revision with Envers? There might be some tables where I want the full revision history while others in which I only care about the latest revision.

      Not using Envers for the latter tables then means I have to track and store that timestamp and user information manually, which defeats the purpose of Envers.

      Has anyone implemented anything similar?

      Thanks.