anonymous wrote : It is necessary for application to guarantee execution in single
transaction (jbpm and general).
If you want to access the jBPM and the application data from within the same Hibernate
session you could inject the Hibernate session into the jbpmContext
(jbpmContext.setSession(s);).
This can be done by using the DbPersistenceServiceFactory. You would have to set the
configuration parameter "isCurrentSessionEnabled" to true, which wouldn't
close the Hibernate session on the jBPM side. You could continue to work within the
current transaction and do the Hibernate clean up work at the end of the transaction.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055918#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...