[jboss-user] [jBPM] - Re: joining the transaction in jbpm with transaction of the calling application.

malabalu do-not-reply at jboss.com
Tue Jul 31 14:07:42 EDT 2012

malabalu [https://community.jboss.org/people/malabalu] created the discussion

"Re: joining the transaction in jbpm with transaction of the calling application."

To view the discussion, visit: https://community.jboss.org/message/751323#751323

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.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120731/ddbb09f0/attachment.html 

More information about the jboss-user mailing list