1 Reply Latest reply on Dec 11, 2005 2:47 PM by Koen Aers

    Lazy Load Exceptions

    Dan Mullins Newbie

      Is there a clean way to keep the Jbpm session open for the duration of the request? I'd like to take advantage of the lazy load functionality of hibernate but am unsure how to do this.

      In the sample webapp, the session is managed manually with the PersistenceFilter and Context objects. I've tried the spring-jbpm project, but it's callback closes the session after each transaction.

      Is there something like Spring's "OpenSessionInViewFilter" or "OpenSessionInViewInterceptor" available for the JbpmSession?

      Any help in this area would be great -

      Thanks,
      Dan