5 Replies Latest reply on Dec 24, 2008 1:03 PM by Ivan B

    why is the conversation long running

    Ivan B Novice

      Hi,


      I'm trying to understand why my conversation is shown as long-running, even though I didn't explicitly set it as such.


      Here is the extract from the form with action:


          <h:commandButton id="save"
                                       value="Save" action="#{propertyOfferHome.persist}"
                                       rendered="#{!propertyOfferHome.managed}"/>
      
      



      And here is the action bean.


      @Name("propertyOfferHome")
      public class PropertyOfferHome extends EntityHome<PropertyOffer>
      {
      @Override
           public String persist() {
              getLog().debug("This conversation #0 is longRunning: #1", getConversation().getId(), getConversation().isLongRunning());
              doPrices();
                return super.persist();
           }
      }
      



      As can be seen, there is no @Begin annotation on persist() method, however in the log I see



      This conversation 1 is longRunning: true

      How come the conversation became long-running and who promoted it?
      Would be grateful for any hints.


      --
      Ivan