[Catalyst] how to implement Transactions (over different db tables) in a Catalyst project

kakimoto at tpg.com.au kakimoto at tpg.com.au
Mon Jul 6 11:38:47 GMT 2009

So, in the case of an exception, an automatic rollback will take place.
I have tested this in my application and it seems that way.

Can anyone confirm this? 
Thank you:)

> This is fairly easy to get wrong - txn_do forces you to have a block 
> which comprises the transaction scope, or your code won't compile.
> It will start a transaction at the start of the block, and commit it 
> at the end if an exception hasn't been encountered during the  
> transaction

More information about the Catalyst mailing list