Hi,

I am confused by cakephp transaction. Assume I have two tables like
User, Product. When I start the transation, the code looks like,

$this->User->begin()
...
$this->User->commit()

The question is, if any code between the above two lines failed to
update/insert row in table Product, does it rollback? Does $this->User-
>begin() mean we just start the transation on table User?

I'd appreciate your help very much.

Thanks,
Bo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to