Andres Fernandez [
http://community.jboss.org/people/ysh_fdez] created the discussion
"JBPM's persistence reusing existing connection"
To view the discussion, visit:
http://community.jboss.org/message/642435#642435
--------------------------------------------------------------
Hello, I'm trying to introduce a jBPM project successfully. We want to enable
jBPM's persistence. The examples are intended to make a new connection to the database
for jBPM. My application is using Hibernate already, and it creates the connection to the
database. I can not accept two simultaneous connections, one of them just to jBPM.
Ideally, jBPM reuses the existing connection.
Specifically is it enough with the object org.hibernate.Session order to jBPM realice its
operations persistence?
I suppose that have a application with a database's connection and want to jBPM reuses
the same connection, should be common. However, as the documentation and examples I see,
they create new connection to jBPM. It makes me wonder if I'm wrong concepts and
considering incorrectly the need to share the connection.
Can anyone give me any advice or warn me if I am engaged in a wrong way?
Thank you for your wisdom :)
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/642435#642435]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]