0 Replies Latest reply on Mar 12, 2009 8:04 PM by xuegong wang

    How to clean up session after rendering page?

    xuegong wang Newbie

      I have a query that returns a list of objects to generate a PDF page using the seampdf package. However, these objects remain in hibernate session even after the pdf was generated. I tried call session clear at the end of the page or set query cacheable to false. Not work. I think it may because the page rendering still need the list of objects. I wonder if there's an event that can be triggered after rendering a page.