Maciej Swiderski [
http://community.jboss.org/people/swiderski.maciej] replied to the
discussion
"JBPM4 connection problem"
To view the discussion, visit:
http://community.jboss.org/message/533173#533173
--------------------------------------------------------------
In general that should be possible. One of the scenarios of using jBPM is as embedded
within application. This means that application will control transaction of jBPM, since it
is Hibernate in background that should not be a problem.
In my opinion configuration is the key here, when you setup both your application and jBPM
to use JTA transactions then your application and jBPM should be under control of the same
transaction manager regardless if they share data source or not.
JTA configuration is delivered with jBPM distribution but (afaik) it is not configured as
default one. In dev or user guide there should be some info how to configure JTA support.
HTH
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/533173#533173]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]