Hello both of you,
I'm on the same way. I succeed to inject my sessionFactory to jBPM thanks to
shekharv's tips.
I set in my config file:
<hibernate-session current="true"/>
But I notice that jBPM create it own transaction (and in my case, also close the session I
injected !!). I think that why your process is saved even if you rollback your
transaction.
The jBPM class that do the job is "HibernateSessionResource". I have to look for
a way to disable it. I don't want jBPM to manage any hibernate session or
transaction.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245063#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...