jbpm will join transaction if one is already active otherwise will start new transaction.
thank you.I was able to verify that the transaction is getting joined but we are facing a new issue now. The processinstanceinfo that is gettign persisted does not have the state active and all of its up to date info at savpoint. We can retrieve only the basic first info from it and so we cannot process the signal further.
While debugging, I found that update() method in processinstanceinfo class has a preUpdate annotation but doesnt get called at the commit of the transaction.The idea is to keep updating the processinstance variable of the processinstanceinfo entity once it is created and so while commiting , it will trigger the update() method which will then update the byteArray (blob) filed with current process info.
I am not sure if this is happenign because of the processinstance variable is transient.