You can pass the Session of Spring to the Session of jBPM which will replace the session of hibernate associated with jBPM.
In this way you can use the manage the transaction from your Spring session rather than jBPM Transaction.
how can i do that? both sessions have different hbm files?
also the same session, assume the same connection, with if the workflow schema will be in another schema, and many applications willl access it.
btw i should add that it begins a new transaction whenever it enters automatic node. not a task node