> In doing this, the changes for every model rolled back fine. Does it > seem incorrect (maybe just conventionally) to use a model to control > the transaction over all the other models? Or is there a global type > of transaction I should be using?
AFAIK there is no global types of transactions. Transaction support is in your database. Look at the SQL log - the methods you are using just forward start/ commit/rollback to the db. http://api.cakephp.org/1.2/dbo__mysql_8php-source.html#l00243 It could be a problem if different models would use different db connections/dbos but i haven't tried this so maybe someone can comment on it:) HTH, kabturek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
