3 Replies Latest reply on May 24, 2006 10:34 AM by bdruth

    Enabling Hibernate versioning on TaskInstance for concurrent

      I need to provide optimistic concurrency control for TaskInstance objects in JBPM. I noticed that Comment, Token, ProcessInstance, and RuntimeAction use Hibernate versioning. Is there any reason I can't enable versioning on the TaskInstance mapping? Will the break anything in JBPM?

      What's the reasoning behind not providing versioning on this by default? It would seem a logical choice, since TaskInstances are typically displayed in an Inbox type web-application, which typically needs Hibernate's definition of long running application transactions.

      Cheers,
      Brice