1 Reply Latest reply on Feb 28, 2012 4:08 PM by lightguard

    entitymanager merge

    margv

      hi,

      entitymanager can return  the object as it was before upgrade?. i need obtein the object before and after the update for to realize audit

      Thanks for any suggestions.

        • 1. Re: entitymanager merge
          lightguard

          You'd need to do some pre and post hooks, but if you really want to do auditing and not have to write a lot of code, look at Hibernate Envers (now part of Hibernate Core), it's in AS7.