irshad mansuri [
https://community.jboss.org/people/irs] created the discussion
"Re: Issue with StatefulKnowledgeSession"
To view the discussion, visit:
https://community.jboss.org/message/808002#808002
--------------------------------------------------------------
Found the solution.
It was my mistake i was not adding the transaction type to the persistence
so as i changed my persistence.xml file it worked fine for me.
I made the following changes in my persistence.xml file
| <persistence-unit name="org.jbpm.task" transaction-type="JTA">
| |
and also add the transaction manager because trasaction manager is requiered if we are
using JTA.
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.BTMTransactionManagerLookup" />
Regards
Irshad
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/808002#808002]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]