2 Replies Latest reply on Mar 12, 2009 11:18 PM by Stefan Hörmann

    Long-Running Conversations without Persitence @End

    Stefan Hörmann Newbie

      I am using a long-running conversation to edit a bean. The long-running conversation can be leaved by eather pressing a Save or a Cancel button. Both buttons are calling methods of the action bean, but only the Save method is performing a merge operation on the extended entity manager.

      Issue: It does not matter which button I am pressing, the bean will be merged anyway.

      I tried different approaches for managing transactions in the hope to solve the issue, but I did not change the behaviour of my application.

      What is required to not persist beans, if the Cancel button is pressed to end the long-running conversation?

      Your help is greatly appreciated. Thank you very much!