5 Replies Latest reply on Jun 2, 2011 6:27 AM by Adam Warski

    How to close an open session with ENVERS?

    Sri Harsha Yenuganti Newbie

      Here I have another question. If I close the session after inserting into the main table, the Envers is not doing the auditing saying THE SESSION IS ALREADY CLOSED. If I leave the session open without closing, the auditing is working.

       

      So will ENVERS close the open session after inserting into the audit tables? Is there any way to tell ENVERS to close the session after auditing?