[jboss-user] [JBoss jBPM] - Re: Accessing the underlaying hibernate session / transactio
koen.aers@jboss.com
do-not-reply at jboss.com
Sun Sep 10 14:13:55 EDT 2006
Harry,
Committing a transaction inside an action handler like you do is not always bad. The only thing that you should be aware of is that from a client perspective, you have now really two transactions. The first transaction will do the business behaviour of your node, the second will move the token out of the node and continue the graph execution. So you should take care of the situation where the first transaction succeeds and the second transaction fails yourself.
Regards,
Koen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970625#3970625
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970625
More information about the jboss-user
mailing list