Rahul Agrawal [
https://community.jboss.org/people/rahulamt] created the discussion
"Re: Commit transaction after each service task?"
To view the discussion, visit:
https://community.jboss.org/message/756156#756156
--------------------------------------------------------------
Hi Mauricio,
Thanks for the reply.
This approach looks promising. But I do have a doubt regarding it. Do I need to load the
session in the component which is processing the message? Can't I have the session
stored at global level in JVM and use that? And for reloading do I have to dispose session
in the executeWorkItem(...)? I am using strategy of using session-per-process. So there
will be multiple process instances which will be using the same session, then is it a good
idea to dispose it? Or even if i dont dispose it, is it good to reload it? Wont it cause
problems?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/756156#756156]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]