[jboss-user] [jBPM] - Re: Default transaction behavior in jBPM 5.1

Esteban Aliverti do-not-reply at jboss.com
Tue Feb 28 14:54:59 EST 2012


Esteban Aliverti [https://community.jboss.org/people/eaa] created the discussion

"Re: Default transaction behavior in jBPM 5.1"

To view the discussion, visit: https://community.jboss.org/message/720324#720324

--------------------------------------------------------------
When using JPAKnowledgeService, everytime you interact with the returned StatefulKnowledgeSession a new TX is created and commited.
So, for example:

ksession.startProcess() <- creates a TX, starts the process, the process runs until it reaches a wait-state or an End Event Node, the TX is commited

ksession.getWorkItemManager().completeWorkItem() <- a TX is created, the work item is completed, the process runs until it reaches a wait-state or an End Event Node, the TX is commited .

Best Regards,
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/720324#720324]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120228/94ce14e0/attachment.html 


More information about the jboss-user mailing list