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&...]