This content has been marked as final.
Show 1 reply
-
1. Re: Accessing the underlaying hibernate session / transactio
koen.aers Sep 10, 2006 2:13 PM (in response to harrylette)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