Wow thanks for looking into this, I had put it on the back burner right now, I'm going to play with that today, thanks a bunch!
Grant. -----Original Message----- From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kai Zaunick Sent: Friday, November 10, 2006 1:22 AM To: Cake PHP Subject: Re: transactions Hi Grant, was just digging into the mysql transaction problem... It seems if you are using PHP5, you can directly use model->begin, commit and rollback. Every unknown method of your model is directly dispatched as a database query (cake uses the __call function to "catch" unknown methods). The more correct way is certainly to use the internal structures which need to be patched... Cake is a nice framework, but transactions should have a high priority on the feature list as they are necessary for complex applications. Grant Davies wrote: > I've done some searching and found transactions comes up sometimes but > there doesn't appear to be a definite answer. > > I found this : > > https://trac.cakephp.org/ticket/832 > > And I see that the dbo_mssql.php file has some transaction support in > it. > > Has anyone tried the patched model with mysql to use transactions ? I > have an application that I need transactions for and right now I'm > having to delete an inserted row if a insert to another table fails. > > Thanks > Grant --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---