0 Replies Latest reply on Dec 17, 2008 5:04 PM by jimjxr.jimjxr.gmail.com

    Application Exception and long conversation

    jimjxr.jimjxr.gmail.com

      Hi,


      I wonder what's the best practice for handling application exception when using long conversations. We would like to display error message on the page user is working on (not a separate error page like Seam error handling do), so we would catch application exception in action, and add faces messages. However, our application exception also needs to roll back transaction, it seems that when this is done, hibernate would clear up the session, this seems to make the current conversation unusable. So should we end the conversation ourselves when catching application exception in action?


      Thanks


      Jim