1 Reply Latest reply on Sep 16, 2005 2:39 PM by Olivier Kloss

    About JbpmSessions open/begin commit/close

    Olivier Kloss Newbie

      There's something I don't get about jbpmsessions and the open, begin, commit, close sequence.
      Is it always necessary?
      The examples in the documentation indicate that you should wrap your "actions", like getting process instances from the database, between open/begin and commit/close but if I look at the webapp, I can't find when close() is called on the session.
      Could someone explain me why the session does not seem to be closed in the webapp? I'm particularly looking at the save() and saveandclose() methods in TaskBean.

      Thanks!