Can we wrap multiple model updates in single transaction for a cakephp Controller action.
I found these links which solve this issue.
CakePHP 2.3.x database transaction
How to put begin-commit transaction in controller: cakephp?
But both of them requires code in specific controller-action. Can above solutions be centralized somewhere, so that single global transaction is automatically available to all controllers & actions in application. I'm not able to visualize the solution.